#233787#233787

#233787 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.136 H 268.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#233787
RGBrgb(35, 55, 135)
HSLhsl(228, 59%, 33%)
HSVhsv(228, 74%, 53%)
CMYKcmyk(74.1%, 59.3%, 0%, 47.1%)
CIE-LABlab(26.27, 21.55, -47.11)
CIE-LCHlch(26.27, 51.81, 294.58°)
OKLaboklab(37.26% -0.004 -0.1358)
OKLCHoklch(37.26% 0.136 268.3)
XYZxyz(6.4310, 4.8383, 23.5119)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233787 #877323
analogous
#236987 #233787 #412387
triadic
#233787 #872337 #378723
tetradic
#233787 #872369 #877323 #238741
square
#233787 #872369 #877323 #238741
split-complementary
#233787 #874123 #698723
monochromatic
#0A0F26 #162356 #233787 #304BB8 #526CD2

Accessibility & contrast

On white

10.67
#233787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#233787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233787
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233787#FFFFFF#000000##FFFFFF
##2337871.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #233787;
/* rgb */ color: rgb(35, 55, 135);
/* oklch */ color: oklch(37.3% 0.136 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d6dab',
    500: '#233787',
    950: '#000000',
  },
}
SCSS
$custom: #233787;
$custom-light: #6d6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#233787",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 228,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37255,
    "c": 0.1359,
    "h": 268.3
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#233787
secondary
#B6A250
accent
#C346E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233787

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#233787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva