#233C7F#233C7F

#233C7F is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.118 H 265.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#233C7F
RGBrgb(35, 60, 127)
HSLhsl(224, 57%, 32%)
HSVhsv(224, 72%, 50%)
CMYKcmyk(72.4%, 52.8%, 0%, 50.2%)
CIE-LABlab(27.08, 14.93, -40.80)
CIE-LCHlch(27.08, 43.45, 290.10°)
OKLaboklab(37.67% -0.009 -0.1172)
OKLCHoklch(37.67% 0.118 265.6)
XYZxyz(6.1384, 5.1207, 20.7395)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C7F #7F6623
analogous
#236A7F #233C7F #38237F
triadic
#233C7F #7F233C #3C7F23
tetradic
#233C7F #7F236A #7F6623 #237F38
square
#233C7F #7F236A #7F6623 #237F38
split-complementary
#233C7F #7F3823 #6A7F23
monochromatic
#090F1F #16254F #233C7F #3053AF #4E71CE

Accessibility & contrast

On white

10.37
#233C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#233C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C7F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C7F#FFFFFF#000000##FFFFFF
##233C7F1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134481
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233c7f;
/* rgb */ color: rgb(35, 60, 127);
/* oklch */ color: oklch(37.7% 0.118 265.6);
Tailwind
colors: {
  custom: {
    50: '#6a71a5',
    500: '#233c7f',
    950: '#000000',
  },
}
SCSS
$custom: #233c7f;
$custom-light: #6a71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#233c7f",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 127
  },
  "hsl": {
    "h": 223.696,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37667,
    "c": 0.11755,
    "h": 265.6
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#233C7F
secondary
#B1964C
accent
#B748E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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