#233E9B#233E9B

#233E9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.155 H 266.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#233E9B
RGBrgb(35, 62, 155)
HSLhsl(227, 63%, 37%)
HSVhsv(227, 77%, 61%)
CMYKcmyk(77.4%, 60%, 0%, 39.2%)
CIE-LABlab(29.83, 24.54, -53.61)
CIE-LCHlch(29.83, 58.96, 294.60°)
OKLaboklab(40.44% -0.0087 -0.1548)
OKLCHoklch(40.44% 0.155 266.8)
XYZxyz(8.3301, 6.1682, 31.7556)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E9B #9B8023
analogous
#237A9B #233E9B #44239B
triadic
#233E9B #9B233E #3E9B23
tetradic
#233E9B #9B237A #9B8023 #239B44
square
#233E9B #9B237A #9B8023 #239B44
split-complementary
#233E9B #9B4423 #7A9B23
monochromatic
#0C1637 #182A69 #233E9B #2E52CD #5E7ADB

Accessibility & contrast

On white

9.40
#233E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#233E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233E9B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E9B#FFFFFF#000000##FFFFFF
##233E9B1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233e9b;
/* rgb */ color: rgb(35, 62, 155);
/* oklch */ color: oklch(40.4% 0.155 266.8);
Tailwind
colors: {
  custom: {
    50: '#7172b9',
    500: '#233e9b',
    950: '#000000',
  },
}
SCSS
$custom: #233e9b;
$custom-light: #7172b9;
$custom-dark: #000000;
JSON
{
  "hex": "#233e9b",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 226.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.15507,
    "h": 266.8
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#233E9B
secondary
#BFA95A
accent
#C142E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #233E9B

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

Preview Lab → · Contrast checker → · Palette generator →

#233E9B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva