#233187#233187

#233187 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.144 H 270.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#233187
RGBrgb(35, 49, 135)
HSLhsl(232, 59%, 33%)
HSVhsv(232, 74%, 53%)
CMYKcmyk(74.1%, 63.7%, 0%, 47.1%)
CIE-LABlab(24.65, 25.67, -49.75)
CIE-LCHlch(24.65, 55.99, 297.29°)
OKLaboklab(36.05% 0.0007 -0.1437)
OKLCHoklch(36.05% 0.144 270.3)
XYZxyz(6.1631, 4.3026, 23.4226)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233187 #877923
analogous
#236387 #233187 #472387
triadic
#233187 #872331 #318723
tetradic
#233187 #872363 #877923 #238747
square
#233187 #872363 #877923 #238747
split-complementary
#233187 #874723 #638723
monochromatic
#0A0E26 #161F56 #233187 #3043B8 #5264D2

Accessibility & contrast

On white

11.29
#233187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#233187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233187
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233187#FFFFFF#000000##FFFFFF
##2331871.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #233187;
/* rgb */ color: rgb(35, 49, 135);
/* oklch */ color: oklch(36.0% 0.144 270.3);
Tailwind
colors: {
  custom: {
    50: '#6d69ab',
    500: '#233187',
    950: '#000000',
  },
}
SCSS
$custom: #233187;
$custom-light: #6d69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#233187",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 231.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3605,
    "c": 0.14368,
    "h": 270.3
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#233187
secondary
#B6A850
accent
#CC46E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #233187

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

Preview Lab → · Contrast checker → · Palette generator →

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