#233B7D#233B7D

#233B7D is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.116 H 265.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#233B7D
RGBrgb(35, 59, 125)
HSLhsl(224, 56%, 31%)
HSVhsv(224, 72%, 49%)
CMYKcmyk(72%, 52.8%, 0%, 51%)
CIE-LABlab(26.64, 14.84, -40.26)
CIE-LCHlch(26.64, 42.91, 290.23°)
OKLaboklab(37.29% -0.0082 -0.1156)
OKLCHoklch(37.29% 0.116 265.9)
XYZxyz(5.9575, 4.9653, 20.0425)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B7D #7D6523
analogous
#23687D #233B7D #38237D
triadic
#233B7D #7D233B #3B7D23
tetradic
#233B7D #7D2368 #7D6523 #237D38
square
#233B7D #7D2368 #7D6523 #237D38
split-complementary
#233B7D #7D3823 #687D23
monochromatic
#080E1D #16244D #233B7D #3052AD #4D6FCD

Accessibility & contrast

On white

10.54
#233B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#233B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233B7D
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B7D#FFFFFF#000000##FFFFFF
##233B7D1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13437F
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233b7d;
/* rgb */ color: rgb(35, 59, 125);
/* oklch */ color: oklch(37.3% 0.116 265.9);
Tailwind
colors: {
  custom: {
    50: '#6a70a3',
    500: '#233b7d',
    950: '#000000',
  },
}
SCSS
$custom: #233b7d;
$custom-light: #6a70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#233b7d",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 125
  },
  "hsl": {
    "h": 224,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37286,
    "c": 0.11592,
    "h": 265.9
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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