#233371#233371

#233371 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.109 H 269.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#233371
RGBrgb(35, 51, 113)
HSLhsl(228, 53%, 29%)
HSVhsv(228, 69%, 44%)
CMYKcmyk(69%, 54.9%, 0%, 55.7%)
CIE-LABlab(23.39, 15.74, -37.88)
CIE-LCHlch(23.39, 41.02, 292.56°)
OKLaboklab(34.55% -0.0017 -0.1088)
OKLCHoklch(34.55% 0.109 269.1)
XYZxyz(4.8566, 3.9168, 16.1197)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233371 #716123
analogous
#235A71 #233371 #3A2371
triadic
#233371 #712333 #337123
tetradic
#233371 #71235A #716123 #23713A
square
#233371 #71235A #716123 #23713A
split-complementary
#233371 #713A23 #5A7123
monochromatic
#070B17 #151E42 #233371 #3148A0 #4862C6

Accessibility & contrast

On white

11.78
#233371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#233371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233371
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233371#FFFFFF#000000##FFFFFF
##2333711.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3B73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #233371;
/* rgb */ color: rgb(35, 51, 113);
/* oklch */ color: oklch(34.5% 0.109 269.1);
Tailwind
colors: {
  custom: {
    50: '#686a9a',
    500: '#233371',
    950: '#000000',
  },
}
SCSS
$custom: #233371;
$custom-light: #686a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#233371",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 227.692,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34546,
    "c": 0.10877,
    "h": 269.1
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#233371
secondary
#A4924C
accent
#BE4CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #233371

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

Preview Lab → · Contrast checker → · Palette generator →

#233371 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva