#233C8C#233C8C

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

Color values

HEX#233C8C
RGBrgb(35, 60, 140)
HSLhsl(226, 60%, 34%)
HSVhsv(226, 75%, 55%)
CMYKcmyk(75%, 57.1%, 0%, 45.1%)
CIE-LABlab(28.07, 20.06, -47.29)
CIE-LCHlch(28.07, 51.37, 292.98°)
OKLaboklab(38.73% -0.0078 -0.1363)
OKLCHoklch(38.73% 0.137 266.7)
XYZxyz(7.0410, 5.4817, 25.4929)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C8C #8C7323
analogous
#23718C #233C8C #3E238C
triadic
#233C8C #8C233C #3C8C23
tetradic
#233C8C #8C2371 #8C7323 #238C3E
square
#233C8C #8C2371 #8C7323 #238C3E
split-complementary
#233C8C #8C3E23 #718C23
monochromatic
#0B122A #17275B #233C8C #2F51BD #5573D4

Accessibility & contrast

On white

10.02
#233C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#233C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C8C
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C8C#FFFFFF#000000##FFFFFF
##233C8C1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233c8c;
/* rgb */ color: rgb(35, 60, 140);
/* oklch */ color: oklch(38.7% 0.137 266.7);
Tailwind
colors: {
  custom: {
    50: '#6e71ae',
    500: '#233c8c',
    950: '#000000',
  },
}
SCSS
$custom: #233c8c;
$custom-light: #6e71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#233c8c",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 140
  },
  "hsl": {
    "h": 225.714,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38729,
    "c": 0.13652,
    "h": 266.7
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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