#233A71#233A71

#233A71 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.1% C 0.099 H 264.8°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#233A71
RGBrgb(35, 58, 113)
HSLhsl(222, 53%, 29%)
HSVhsv(222, 69%, 44%)
CMYKcmyk(69%, 48.7%, 0%, 55.7%)
CIE-LABlab(25.49, 10.81, -34.51)
CIE-LCHlch(25.49, 36.16, 287.39°)
OKLaboklab(36.14% -0.0089 -0.0987)
OKLCHoklch(36.14% 0.099 264.8)
XYZxyz(5.1858, 4.5752, 16.2294)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A71 #715A23
analogous
#236171 #233A71 #332371
triadic
#233A71 #71233A #3A7123
tetradic
#233A71 #712361 #715A23 #237133
square
#233A71 #712361 #715A23 #237133
split-complementary
#233A71 #713323 #617123
monochromatic
#070C17 #152242 #233A71 #3152A0 #486DC6

Accessibility & contrast

On white

10.96
#233A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#233A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A71
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A71#FFFFFF#000000##FFFFFF
##233A711.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#0F3970
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #233a71;
/* rgb */ color: rgb(35, 58, 113);
/* oklch */ color: oklch(36.1% 0.099 264.8);
Tailwind
colors: {
  custom: {
    50: '#676f9a',
    500: '#233a71',
    950: '#000000',
  },
}
SCSS
$custom: #233a71;
$custom-light: #676f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#233a71",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 222.308,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36139,
    "c": 0.09913,
    "h": 264.8
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

primary
#233A71
secondary
#A48A4C
accent
#B24CDC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #233A71

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

Preview Lab → · Contrast checker → · Palette generator →

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