#233C8B#233C8B

#233C8B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.135 H 266.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#233C8B
RGBrgb(35, 60, 139)
HSLhsl(226, 60%, 34%)
HSVhsv(226, 75%, 55%)
CMYKcmyk(74.8%, 56.8%, 0%, 45.5%)
CIE-LABlab(27.99, 19.66, -46.80)
CIE-LCHlch(27.99, 50.76, 292.79°)
OKLaboklab(38.65% -0.0079 -0.1349)
OKLCHoklch(38.65% 0.135 266.7)
XYZxyz(6.9676, 5.4524, 25.1063)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C8B #8B7223
analogous
#23708B #233C8B #3E238B
triadic
#233C8B #8B233C #3C8B23
tetradic
#233C8B #8B2370 #8B7223 #238B3E
square
#233C8B #8B2370 #8B7223 #238B3E
split-complementary
#233C8B #8B3E23 #708B23
monochromatic
#0A1229 #17275A #233C8B #2F51BC #5473D4

Accessibility & contrast

On white

10.04
#233C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#233C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C8B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C8B#FFFFFF#000000##FFFFFF
##233C8B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233c8b;
/* rgb */ color: rgb(35, 60, 139);
/* oklch */ color: oklch(38.6% 0.135 266.7);
Tailwind
colors: {
  custom: {
    50: '#6d71ad',
    500: '#233c8b',
    950: '#000000',
  },
}
SCSS
$custom: #233c8b;
$custom-light: #6d71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#233c8b",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 225.577,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38645,
    "c": 0.13509,
    "h": 266.7
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#233C8B
secondary
#B89F52
accent
#BD45E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233C8B

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

Preview Lab → · Contrast checker → · Palette generator →

#233C8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva