#233E9E#233E9E

#233E9E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.159 H 266.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#233E9E
RGBrgb(35, 62, 158)
HSLhsl(227, 64%, 38%)
HSVhsv(227, 78%, 62%)
CMYKcmyk(77.8%, 60.8%, 0%, 38%)
CIE-LABlab(30.08, 25.70, -55.02)
CIE-LCHlch(30.08, 60.73, 295.04°)
OKLaboklab(40.7% -0.0086 -0.159)
OKLCHoklch(40.7% 0.159 266.9)
XYZxyz(8.5852, 6.2702, 33.0989)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E9E #9E8323
analogous
#237C9E #233E9E #45239E
triadic
#233E9E #9E233E #3E9E23
tetradic
#233E9E #9E237C #9E8323 #239E45
square
#233E9E #9E237C #9E8323 #239E45
split-complementary
#233E9E #9E4523 #7C9E23
monochromatic
#0D173A #182A6C #233E9E #2E52D0 #607BDC

Accessibility & contrast

On white

9.32
#233E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#233E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233E9E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E9E#FFFFFF#000000##FFFFFF
##233E9E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233e9e;
/* rgb */ color: rgb(35, 62, 158);
/* oklch */ color: oklch(40.7% 0.159 266.9);
Tailwind
colors: {
  custom: {
    50: '#7272bb',
    500: '#233e9e',
    950: '#000000',
  },
}
SCSS
$custom: #233e9e;
$custom-light: #7272bb;
$custom-dark: #000000;
JSON
{
  "hex": "#233e9e",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 158
  },
  "hsl": {
    "h": 226.829,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40701,
    "c": 0.15921,
    "h": 266.9
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#233E9E
secondary
#C1AB5C
accent
#C241E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #233E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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