#233D99#233D99

#233D99 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.154 H 267.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#233D99
RGBrgb(35, 61, 153)
HSLhsl(227, 63%, 37%)
HSVhsv(227, 77%, 60%)
CMYKcmyk(77.1%, 60.1%, 0%, 40%)
CIE-LABlab(29.40, 24.44, -53.10)
CIE-LCHlch(29.40, 58.46, 294.72°)
OKLaboklab(40.06% -0.008 -0.1534)
OKLCHoklch(40.06% 0.154 267)
XYZxyz(8.1096, 5.9938, 30.8603)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D99 #997F23
analogous
#237899 #233D99 #442399
triadic
#233D99 #99233D #3D9923
tetradic
#233D99 #992378 #997F23 #239944
square
#233D99 #992378 #997F23 #239944
split-complementary
#233D99 #994423 #789923
monochromatic
#0C1535 #182967 #233D99 #2E51CB #5D78DA

Accessibility & contrast

On white

9.55
#233D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#233D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D99
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D99#FFFFFF#000000##FFFFFF
##233D991.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233d99;
/* rgb */ color: rgb(35, 61, 153);
/* oklch */ color: oklch(40.1% 0.154 267.0);
Tailwind
colors: {
  custom: {
    50: '#7172b8',
    500: '#233d99',
    950: '#000000',
  },
}
SCSS
$custom: #233d99;
$custom-light: #7172b8;
$custom-dark: #000000;
JSON
{
  "hex": "#233d99",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 226.78,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.15357,
    "h": 267
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#233D99
secondary
#BEA859
accent
#C242E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233D99

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

Preview Lab → · Contrast checker → · Palette generator →

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