#233D7E#233D7E

#233D7E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.115 H 265.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#233D7E
RGBrgb(35, 61, 126)
HSLhsl(223, 57%, 32%)
HSVhsv(223, 72%, 49%)
CMYKcmyk(72.2%, 51.6%, 0%, 50.6%)
CIE-LABlab(27.30, 13.84, -39.82)
CIE-LCHlch(27.30, 42.16, 289.17°)
OKLaboklab(37.81% -0.01 -0.1143)
OKLCHoklch(37.81% 0.115 265)
XYZxyz(6.1265, 5.2005, 20.4156)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D7E #7E6423
analogous
#236B7E #233D7E #37237E
triadic
#233D7E #7E233D #3D7E23
tetradic
#233D7E #7E236B #7E6423 #237E37
square
#233D7E #7E236B #7E6423 #237E37
split-complementary
#233D7E #7E3723 #6B7E23
monochromatic
#080F1E #16264E #233D7E #3054AE #4E72CE

Accessibility & contrast

On white

10.29
#233D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#233D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D7E
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D7E#FFFFFF#000000##FFFFFF
##233D7E1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233d7e;
/* rgb */ color: rgb(35, 61, 126);
/* oklch */ color: oklch(37.8% 0.115 265.0);
Tailwind
colors: {
  custom: {
    50: '#6a72a4',
    500: '#233d7e',
    950: '#000000',
  },
}
SCSS
$custom: #233d7e;
$custom-light: #6a72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#233d7e",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 222.857,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37814,
    "c": 0.11474,
    "h": 265
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#233D7E
secondary
#B0944C
accent
#B448E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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