#233788#233788

#233788 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.137 H 268.4°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#233788
RGBrgb(35, 55, 136)
HSLhsl(228, 59%, 34%)
HSVhsv(228, 74%, 53%)
CMYKcmyk(74.3%, 59.6%, 0%, 46.7%)
CIE-LABlab(26.35, 21.94, -47.60)
CIE-LCHlch(26.35, 52.41, 294.75°)
OKLaboklab(37.34% -0.0039 -0.1373)
OKLCHoklch(37.34% 0.137 268.4)
XYZxyz(6.5017, 4.8666, 23.8845)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233788 #887423
analogous
#236988 #233788 #412388
triadic
#233788 #882337 #378823
tetradic
#233788 #882369 #887423 #238841
square
#233788 #882369 #887423 #238841
split-complementary
#233788 #884123 #698823
monochromatic
#0A1027 #162357 #233788 #304BB9 #536CD3

Accessibility & contrast

On white

10.64
#233788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233788
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233788#FFFFFF#000000##FFFFFF
##2337881.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #233788;
/* rgb */ color: rgb(35, 55, 136);
/* oklch */ color: oklch(37.3% 0.137 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d6dab',
    500: '#233788',
    950: '#000000',
  },
}
SCSS
$custom: #233788;
$custom-light: #6d6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#233788",
  "rgb": {
    "r": 35,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 228.119,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37342,
    "c": 0.13734,
    "h": 268.4
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233788

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

Preview Lab → · Contrast checker → · Palette generator →

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