#233D9A#233D9A

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

Color values

HEX#233D9A
RGBrgb(35, 61, 154)
HSLhsl(227, 63%, 37%)
HSVhsv(227, 77%, 60%)
CMYKcmyk(77.3%, 60.4%, 0%, 39.6%)
CIE-LABlab(29.48, 24.83, -53.58)
CIE-LCHlch(29.48, 59.05, 294.87°)
OKLaboklab(40.15% -0.008 -0.1547)
OKLCHoklch(40.15% 0.155 267)
XYZxyz(8.1926, 6.0270, 31.2971)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D9A #9A8023
analogous
#23799A #233D9A #45239A
triadic
#233D9A #9A233D #3D9A23
tetradic
#233D9A #9A2379 #9A8023 #239A45
square
#233D9A #9A2379 #9A8023 #239A45
split-complementary
#233D9A #9A4523 #799A23
monochromatic
#0C1536 #182968 #233D9A #2E51CC #5D78DA

Accessibility & contrast

On white

9.52
#233D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#233D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D9A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D9A#FFFFFF#000000##FFFFFF
##233D9A1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233d9a;
/* rgb */ color: rgb(35, 61, 154);
/* oklch */ color: oklch(40.1% 0.155 267.0);
Tailwind
colors: {
  custom: {
    50: '#7172b9',
    500: '#233d9a',
    950: '#000000',
  },
}
SCSS
$custom: #233d9a;
$custom-light: #7172b9;
$custom-dark: #000000;
JSON
{
  "hex": "#233d9a",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 154
  },
  "hsl": {
    "h": 226.891,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40146,
    "c": 0.15496,
    "h": 267
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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