#233A9E#233A9E

#233A9E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.164 H 267.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#233A9E
RGBrgb(35, 58, 158)
HSLhsl(229, 64%, 38%)
HSVhsv(229, 78%, 62%)
CMYKcmyk(77.8%, 63.3%, 0%, 38%)
CIE-LABlab(29.03, 28.39, -56.74)
CIE-LCHlch(29.03, 63.44, 296.58°)
OKLaboklab(39.92% -0.006 -0.1641)
OKLCHoklch(39.92% 0.164 267.9)
XYZxyz(8.3756, 5.8511, 33.0291)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A9E #9E8723
analogous
#23789E #233A9E #49239E
triadic
#233A9E #9E233A #3A9E23
tetradic
#233A9E #9E2378 #9E8723 #239E49
square
#233A9E #9E2378 #9E8723 #239E49
split-complementary
#233A9E #9E4923 #789E23
monochromatic
#0D153A #18286C #233A9E #2E4CD0 #6077DC

Accessibility & contrast

On white

9.68
#233A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#233A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A9E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A9E#FFFFFF#000000##FFFFFF
##233A9E1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233a9e;
/* rgb */ color: rgb(35, 58, 158);
/* oklch */ color: oklch(39.9% 0.164 267.9);
Tailwind
colors: {
  custom: {
    50: '#7270bc',
    500: '#233a9e',
    950: '#000000',
  },
}
SCSS
$custom: #233a9e;
$custom-light: #7270bc;
$custom-dark: #000000;
JSON
{
  "hex": "#233a9e",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 228.78,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39921,
    "c": 0.16417,
    "h": 267.9
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#233A9E
secondary
#C1AE5C
accent
#C841E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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