#233989#233989

#233989 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.136 H 267.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#233989
RGBrgb(35, 57, 137)
HSLhsl(227, 59%, 34%)
HSVhsv(227, 74%, 54%)
CMYKcmyk(74.5%, 58.4%, 0%, 46.3%)
CIE-LABlab(26.99, 20.95, -47.19)
CIE-LCHlch(26.99, 51.63, 293.94°)
OKLaboklab(37.84% -0.0055 -0.136)
OKLCHoklch(37.84% 0.136 267.7)
XYZxyz(6.6701, 5.0890, 24.2928)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233989 #897323
analogous
#236C89 #233989 #402389
triadic
#233989 #892339 #398923
tetradic
#233989 #89236C #897323 #238940
square
#233989 #89236C #897323 #238940
split-complementary
#233989 #894023 #6C8923
monochromatic
#0A1028 #172558 #233989 #2F4DBA #536FD3

Accessibility & contrast

On white

10.41
#233989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#233989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233989
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233989#FFFFFF#000000##FFFFFF
##2339891.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233989;
/* rgb */ color: rgb(35, 57, 137);
/* oklch */ color: oklch(37.8% 0.136 267.7);
Tailwind
colors: {
  custom: {
    50: '#6d6fac',
    500: '#233989',
    950: '#000000',
  },
}
SCSS
$custom: #233989;
$custom-light: #6d6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#233989",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 227.059,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37844,
    "c": 0.13615,
    "h": 267.7
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#233989
secondary
#B7A151
accent
#C145E2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #233989

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

Preview Lab → · Contrast checker → · Palette generator →

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