#233C7D#233C7D

#233C7D is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.115 H 265.4°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#233C7D
RGBrgb(35, 60, 125)
HSLhsl(223, 56%, 31%)
HSVhsv(223, 72%, 49%)
CMYKcmyk(72%, 52%, 0%, 51%)
CIE-LABlab(26.93, 14.14, -39.78)
CIE-LCHlch(26.93, 42.22, 289.57°)
OKLaboklab(37.51% -0.0092 -0.1142)
OKLCHoklch(37.51% 0.115 265.4)
XYZxyz(6.0094, 5.0691, 20.0598)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C7D #7D6423
analogous
#23697D #233C7D #37237D
triadic
#233C7D #7D233C #3C7D23
tetradic
#233C7D #7D2369 #7D6423 #237D37
square
#233C7D #7D2369 #7D6423 #237D37
split-complementary
#233C7D #7D3723 #697D23
monochromatic
#080E1D #16254D #233C7D #3053AD #4D71CD

Accessibility & contrast

On white

10.43
#233C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#233C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C7D
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C7D#FFFFFF#000000##FFFFFF
##233C7D1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233c7d;
/* rgb */ color: rgb(35, 60, 125);
/* oklch */ color: oklch(37.5% 0.115 265.4);
Tailwind
colors: {
  custom: {
    50: '#6a71a3',
    500: '#233c7d',
    950: '#000000',
  },
}
SCSS
$custom: #233c7d;
$custom-light: #6a71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#233c7d",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 125
  },
  "hsl": {
    "h": 223.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37511,
    "c": 0.11458,
    "h": 265.4
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#233C7D
secondary
#AF944C
accent
#B648E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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