#233287#233287

#233287 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.142 H 270.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#233287
RGBrgb(35, 50, 135)
HSLhsl(231, 59%, 33%)
HSVhsv(231, 74%, 53%)
CMYKcmyk(74.1%, 63%, 0%, 47.1%)
CIE-LABlab(24.91, 24.99, -49.32)
CIE-LCHlch(24.91, 55.29, 296.87°)
OKLaboklab(36.25% 0 -0.1424)
OKLCHoklch(36.25% 0.142 270)
XYZxyz(6.2054, 4.3872, 23.4367)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233287 #877823
analogous
#236487 #233287 #462387
triadic
#233287 #872332 #328723
tetradic
#233287 #872364 #877823 #238746
square
#233287 #872364 #877823 #238746
split-complementary
#233287 #874623 #648723
monochromatic
#0A0E26 #162056 #233287 #3044B8 #5265D2

Accessibility & contrast

On white

11.18
#233287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#233287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233287
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233287#FFFFFF#000000##FFFFFF
##2332871.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233287;
/* rgb */ color: rgb(35, 50, 135);
/* oklch */ color: oklch(36.2% 0.142 270.0);
Tailwind
colors: {
  custom: {
    50: '#6d69ab',
    500: '#233287',
    950: '#000000',
  },
}
SCSS
$custom: #233287;
$custom-light: #6d69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#233287",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 231,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36246,
    "c": 0.1424,
    "h": 270
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#233287
secondary
#B6A750
accent
#CB46E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #233287

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

Preview Lab → · Contrast checker → · Palette generator →

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