#233E9D#233E9D

#233E9D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.158 H 266.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#233E9D
RGBrgb(35, 62, 157)
HSLhsl(227, 64%, 38%)
HSVhsv(227, 78%, 62%)
CMYKcmyk(77.7%, 60.5%, 0%, 38.4%)
CIE-LABlab(30.00, 25.31, -54.55)
CIE-LCHlch(30.00, 60.14, 294.89°)
OKLaboklab(40.61% -0.0087 -0.1576)
OKLCHoklch(40.61% 0.158 266.9)
XYZxyz(8.4994, 6.2359, 32.6475)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E9D #9D8223
analogous
#237B9D #233E9D #45239D
triadic
#233E9D #9D233E #3E9D23
tetradic
#233E9D #9D237B #9D8223 #239D45
square
#233E9D #9D237B #9D8223 #239D45
split-complementary
#233E9D #9D4523 #7B9D23
monochromatic
#0D1639 #182A6B #233E9D #2E52CF #5F7BDB

Accessibility & contrast

On white

9.34
#233E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233E9D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E9D#FFFFFF#000000##FFFFFF
##233E9D1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233e9d;
/* rgb */ color: rgb(35, 62, 157);
/* oklch */ color: oklch(40.6% 0.158 266.9);
Tailwind
colors: {
  custom: {
    50: '#7272bb',
    500: '#233e9d',
    950: '#000000',
  },
}
SCSS
$custom: #233e9d;
$custom-light: #7272bb;
$custom-dark: #000000;
JSON
{
  "hex": "#233e9d",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 226.721,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.15784,
    "h": 266.9
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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