#233D9D#233D9D

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

Color values

HEX#233D9D
RGBrgb(35, 61, 157)
HSLhsl(227, 64%, 38%)
HSVhsv(227, 78%, 62%)
CMYKcmyk(77.7%, 61.1%, 0%, 38.4%)
CIE-LABlab(29.73, 25.99, -54.99)
CIE-LCHlch(29.73, 60.82, 295.30°)
OKLaboklab(40.41% -0.008 -0.1589)
OKLCHoklch(40.41% 0.159 267.1)
XYZxyz(8.4456, 6.1282, 32.6295)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D9D #9D8323
analogous
#237A9D #233D9D #46239D
triadic
#233D9D #9D233D #3D9D23
tetradic
#233D9D #9D237A #9D8323 #239D46
square
#233D9D #9D237A #9D8323 #239D46
split-complementary
#233D9D #9D4623 #7A9D23
monochromatic
#0D1639 #182A6B #233D9D #2E50CF #5F7ADB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##233D9D#FFFFFF#000000##FFFFFF
##233D9D1.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)
#004CA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233d9d;
/* rgb */ color: rgb(35, 61, 157);
/* oklch */ color: oklch(40.4% 0.159 267.1);
Tailwind
colors: {
  custom: {
    50: '#7272bb',
    500: '#233d9d',
    950: '#000000',
  },
}
SCSS
$custom: #233d9d;
$custom-light: #7272bb;
$custom-dark: #000000;
JSON
{
  "hex": "#233d9d",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 227.213,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40413,
    "c": 0.15909,
    "h": 267.1
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#233D9D
secondary
#C0AB5C
accent
#C341E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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