#233D7B#233D7B

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

Color values

HEX#233D7B
RGBrgb(35, 61, 123)
HSLhsl(222, 56%, 31%)
HSVhsv(222, 72%, 48%)
CMYKcmyk(71.5%, 50.4%, 0%, 51.8%)
CIE-LABlab(27.09, 12.66, -38.28)
CIE-LCHlch(27.09, 40.32, 288.30°)
OKLaboklab(37.58% -0.0104 -0.1098)
OKLCHoklch(37.58% 0.11 264.6)
XYZxyz(5.9358, 5.1243, 19.4113)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D7B #7B6123
analogous
#23697B #233D7B #35237B
triadic
#233D7B #7B233D #3D7B23
tetradic
#233D7B #7B2369 #7B6123 #237B35
square
#233D7B #7B2369 #7B6123 #237B35
split-complementary
#233D7B #7B3523 #697B23
monochromatic
#080E1C #15254B #233D7B #3155AB #4C72CC

Accessibility & contrast

On white

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

On black

2.03
#233D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##233D7B#FFFFFF#000000##FFFFFF
##233D7B1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447D
Deuteranopia (green-blind)
#043C7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233d7b;
/* rgb */ color: rgb(35, 61, 123);
/* oklch */ color: oklch(37.6% 0.110 264.6);
Tailwind
colors: {
  custom: {
    50: '#6972a2',
    500: '#233d7b',
    950: '#000000',
  },
}
SCSS
$custom: #233d7b;
$custom-light: #6972a2;
$custom-dark: #000000;
JSON
{
  "hex": "#233d7b",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 222.273,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37583,
    "c": 0.11026,
    "h": 264.6
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#233D7B
secondary
#AE914C
accent
#B349DF
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #233D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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