#233D9F#233D9F

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

Color values

HEX#233D9F
RGBrgb(35, 61, 159)
HSLhsl(227, 64%, 38%)
HSVhsv(227, 78%, 62%)
CMYKcmyk(78%, 61.6%, 0%, 37.6%)
CIE-LABlab(29.90, 26.76, -55.92)
CIE-LCHlch(29.90, 61.99, 295.57°)
OKLaboklab(40.59% -0.008 -0.1616)
OKLCHoklch(40.59% 0.162 267.2)
XYZxyz(8.6177, 6.1970, 33.5361)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D9F #9F8523
analogous
#237B9F #233D9F #47239F
triadic
#233D9F #9F233D #3D9F23
tetradic
#233D9F #9F237B #9F8523 #239F47
square
#233D9F #9F237B #9F8523 #239F47
split-complementary
#233D9F #9F4723 #7B9F23
monochromatic
#0D173B #182A6D #233D9F #2E50D1 #607ADC

Accessibility & contrast

On white

9.38
#233D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#233D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D9F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D9F#FFFFFF#000000##FFFFFF
##233D9F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233d9f;
/* rgb */ color: rgb(35, 61, 159);
/* oklch */ color: oklch(40.6% 0.162 267.2);
Tailwind
colors: {
  custom: {
    50: '#7272bc',
    500: '#233d9f',
    950: '#000000',
  },
}
SCSS
$custom: #233d9f;
$custom-light: #7272bc;
$custom-dark: #000000;
JSON
{
  "hex": "#233d9f",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 227.419,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40593,
    "c": 0.16183,
    "h": 267.2
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

primary
#233D9F
secondary
#C1AC5D
accent
#C441E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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