#233C9A#233C9A

#233C9A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.156 H 267.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#233C9A
RGBrgb(35, 60, 154)
HSLhsl(227, 63%, 37%)
HSVhsv(227, 77%, 60%)
CMYKcmyk(77.3%, 61%, 0%, 39.6%)
CIE-LABlab(29.21, 25.51, -54.01)
CIE-LCHlch(29.21, 59.73, 295.28°)
OKLaboklab(39.95% -0.0073 -0.156)
OKLCHoklch(39.95% 0.156 267.3)
XYZxyz(8.1397, 5.9212, 31.2795)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C9A #9A8123
analogous
#23789A #233C9A #46239A
triadic
#233C9A #9A233C #3C9A23
tetradic
#233C9A #9A2378 #9A8123 #239A46
square
#233C9A #9A2378 #9A8123 #239A46
split-complementary
#233C9A #9A4623 #789A23
monochromatic
#0C1536 #182968 #233C9A #2E4FCC #5D77DA

Accessibility & contrast

On white

9.61
#233C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#233C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C9A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C9A#FFFFFF#000000##FFFFFF
##233C9A1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233c9a;
/* rgb */ color: rgb(35, 60, 154);
/* oklch */ color: oklch(39.9% 0.156 267.3);
Tailwind
colors: {
  custom: {
    50: '#7171b9',
    500: '#233c9a',
    950: '#000000',
  },
}
SCSS
$custom: #233c9a;
$custom-light: #7171b9;
$custom-dark: #000000;
JSON
{
  "hex": "#233c9a",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 154
  },
  "hsl": {
    "h": 227.395,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39947,
    "c": 0.15621,
    "h": 267.3
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#233C9A
secondary
#BFAA5A
accent
#C442E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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