#233E7D#233E7D

#233E7D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.112 H 264.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#233E7D
RGBrgb(35, 62, 125)
HSLhsl(222, 56%, 31%)
HSVhsv(222, 72%, 49%)
CMYKcmyk(72%, 50.4%, 0%, 51%)
CIE-LABlab(27.53, 12.75, -38.83)
CIE-LCHlch(27.53, 40.87, 288.18°)
OKLaboklab(37.96% -0.0111 -0.1114)
OKLCHoklch(37.96% 0.112 264.3)
XYZxyz(6.1161, 5.2826, 20.0954)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E7D #7D6223
analogous
#236B7D #233E7D #35237D
triadic
#233E7D #7D233E #3E7D23
tetradic
#233E7D #7D236B #7D6223 #237D35
square
#233E7D #7D236B #7D6223 #237D35
split-complementary
#233E7D #7D3523 #6B7D23
monochromatic
#080F1D #16264D #233E7D #3056AD #4D74CD

Accessibility & contrast

On white

10.21
#233E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#233E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233E7D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E7D#FFFFFF#000000##FFFFFF
##233E7D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#033D7C
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233e7d;
/* rgb */ color: rgb(35, 62, 125);
/* oklch */ color: oklch(38.0% 0.112 264.3);
Tailwind
colors: {
  custom: {
    50: '#6a72a3',
    500: '#233e7d',
    950: '#000000',
  },
}
SCSS
$custom: #233e7d;
$custom-light: #6a72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#233e7d",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 222,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37964,
    "c": 0.11192,
    "h": 264.3
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#233E7D
secondary
#AF924C
accent
#B248E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #233E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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