#233D7F#233D7F

#233D7F is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.116 H 265.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#233D7F
RGBrgb(35, 61, 127)
HSLhsl(223, 57%, 32%)
HSVhsv(223, 72%, 50%)
CMYKcmyk(72.4%, 52%, 0%, 50.2%)
CIE-LABlab(27.37, 14.24, -40.33)
CIE-LCHlch(27.37, 42.77, 289.44°)
OKLaboklab(37.89% -0.0099 -0.1158)
OKLCHoklch(37.89% 0.116 265.1)
XYZxyz(6.1913, 5.2265, 20.7571)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D7F #7F6523
analogous
#236B7F #233D7F #37237F
triadic
#233D7F #7F233D #3D7F23
tetradic
#233D7F #7F236B #7F6523 #237F37
square
#233D7F #7F236B #7F6523 #237F37
split-complementary
#233D7F #7F3723 #6B7F23
monochromatic
#090F1F #16264F #233D7F #3054AF #4E72CE

Accessibility & contrast

On white

10.27
#233D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#233D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D7F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D7F#FFFFFF#000000##FFFFFF
##233D7F1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164581
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233d7f;
/* rgb */ color: rgb(35, 61, 127);
/* oklch */ color: oklch(37.9% 0.116 265.1);
Tailwind
colors: {
  custom: {
    50: '#6a72a5',
    500: '#233d7f',
    950: '#000000',
  },
}
SCSS
$custom: #233d7f;
$custom-light: #6a72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#233d7f",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 127
  },
  "hsl": {
    "h": 223.043,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37891,
    "c": 0.11622,
    "h": 265.1
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#233D7F
secondary
#B1954C
accent
#B548E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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