#233E9A#233E9A

#233E9A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.154 H 266.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#233E9A
RGBrgb(35, 62, 154)
HSLhsl(226, 63%, 37%)
HSVhsv(226, 77%, 60%)
CMYKcmyk(77.3%, 59.7%, 0%, 39.6%)
CIE-LABlab(29.75, 24.15, -53.14)
CIE-LCHlch(29.75, 58.37, 294.44°)
OKLaboklab(40.35% -0.0087 -0.1534)
OKLCHoklch(40.35% 0.154 266.7)
XYZxyz(8.2465, 6.1348, 31.3151)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E9A #9A7F23
analogous
#23799A #233E9A #44239A
triadic
#233E9A #9A233E #3E9A23
tetradic
#233E9A #9A2379 #9A7F23 #239A44
square
#233E9A #9A2379 #9A7F23 #239A44
split-complementary
#233E9A #9A4423 #799A23
monochromatic
#0C1636 #182A68 #233E9A #2E52CC #5D7ADA

Accessibility & contrast

On white

9.43
#233E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233E9A
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E9A#FFFFFF#000000##FFFFFF
##233E9A1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233e9a;
/* rgb */ color: rgb(35, 62, 154);
/* oklch */ color: oklch(40.3% 0.154 266.7);
Tailwind
colors: {
  custom: {
    50: '#7172b9',
    500: '#233e9a',
    950: '#000000',
  },
}
SCSS
$custom: #233e9a;
$custom-light: #7172b9;
$custom-dark: #000000;
JSON
{
  "hex": "#233e9a",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 226.387,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.15369,
    "h": 266.7
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#233E9A
secondary
#BFA85A
accent
#C142E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #233E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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