#233887#233887

#233887 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.135 H 268.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#233887
RGBrgb(35, 56, 135)
HSLhsl(227, 59%, 33%)
HSVhsv(227, 74%, 53%)
CMYKcmyk(74.1%, 58.5%, 0%, 47.1%)
CIE-LABlab(26.55, 20.86, -46.66)
CIE-LCHlch(26.55, 51.11, 294.09°)
OKLaboklab(37.46% -0.0048 -0.1345)
OKLCHoklch(37.46% 0.135 268)
XYZxyz(6.4790, 4.9343, 23.5279)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233887 #877223
analogous
#236A87 #233887 #402387
triadic
#233887 #872338 #388723
tetradic
#233887 #87236A #877223 #238740
square
#233887 #87236A #877223 #238740
split-complementary
#233887 #874023 #6A8723
monochromatic
#0A1026 #162456 #233887 #304CB8 #526DD2

Accessibility & contrast

On white

10.57
#233887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#233887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233887
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233887#FFFFFF#000000##FFFFFF
##2338871.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233887;
/* rgb */ color: rgb(35, 56, 135);
/* oklch */ color: oklch(37.5% 0.135 268.0);
Tailwind
colors: {
  custom: {
    50: '#6d6eab',
    500: '#233887',
    950: '#000000',
  },
}
SCSS
$custom: #233887;
$custom-light: #6d6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#233887",
  "rgb": {
    "r": 35,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 227.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37463,
    "c": 0.13459,
    "h": 268
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#233887
secondary
#B6A150
accent
#C146E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233887

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

Preview Lab → · Contrast checker → · Palette generator →

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