#233387#233387

#233387 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.141 H 269.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#233387
RGBrgb(35, 51, 135)
HSLhsl(230, 59%, 33%)
HSVhsv(230, 74%, 53%)
CMYKcmyk(74.1%, 62.2%, 0%, 47.1%)
CIE-LABlab(25.18, 24.30, -48.89)
CIE-LCHlch(25.18, 54.59, 296.43°)
OKLaboklab(36.44% -0.0008 -0.1411)
OKLCHoklch(36.44% 0.141 269.7)
XYZxyz(6.2486, 4.4736, 23.4512)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233387 #877723
analogous
#236587 #233387 #452387
triadic
#233387 #872333 #338723
tetradic
#233387 #872365 #877723 #238745
square
#233387 #872365 #877723 #238745
split-complementary
#233387 #874523 #658723
monochromatic
#0A0E26 #162156 #233387 #3045B8 #5267D2

Accessibility & contrast

On white

11.08
#233387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#233387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233387
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233387#FFFFFF#000000##FFFFFF
##2333871.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #233387;
/* rgb */ color: rgb(35, 51, 135);
/* oklch */ color: oklch(36.4% 0.141 269.7);
Tailwind
colors: {
  custom: {
    50: '#6d6aab',
    500: '#233387',
    950: '#000000',
  },
}
SCSS
$custom: #233387;
$custom-light: #6d6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#233387",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 230.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36443,
    "c": 0.14111,
    "h": 269.7
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#233387
secondary
#B6A650
accent
#C946E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #233387

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

Preview Lab → · Contrast checker → · Palette generator →

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