#233D7D#233D7D

#233D7D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.113 H 264.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#233D7D
RGBrgb(35, 61, 125)
HSLhsl(223, 56%, 31%)
HSVhsv(223, 72%, 49%)
CMYKcmyk(72%, 51.2%, 0%, 51%)
CIE-LABlab(27.23, 13.45, -39.31)
CIE-LCHlch(27.23, 41.54, 288.89°)
OKLaboklab(37.74% -0.0102 -0.1128)
OKLCHoklch(37.74% 0.113 264.8)
XYZxyz(6.0623, 5.1749, 20.0774)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D7D #7D6323
analogous
#236A7D #233D7D #36237D
triadic
#233D7D #7D233D #3D7D23
tetradic
#233D7D #7D236A #7D6323 #237D36
square
#233D7D #7D236A #7D6323 #237D36
split-complementary
#233D7D #7D3623 #6A7D23
monochromatic
#080E1D #16264D #233D7D #3054AD #4D72CD

Accessibility & contrast

On white

10.32
#233D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233D7D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D7D#FFFFFF#000000##FFFFFF
##233D7D1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19457F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233d7d;
/* rgb */ color: rgb(35, 61, 125);
/* oklch */ color: oklch(37.7% 0.113 264.8);
Tailwind
colors: {
  custom: {
    50: '#6a72a3',
    500: '#233d7d',
    950: '#000000',
  },
}
SCSS
$custom: #233d7d;
$custom-light: #6a72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#233d7d",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 222.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37736,
    "c": 0.11325,
    "h": 264.8
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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