#233C9C#233C9C

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

Color values

HEX#233C9C
RGBrgb(35, 60, 156)
HSLhsl(228, 63%, 37%)
HSVhsv(228, 78%, 61%)
CMYKcmyk(77.6%, 61.5%, 0%, 38.8%)
CIE-LABlab(29.38, 26.28, -54.95)
CIE-LCHlch(29.38, 60.91, 295.56°)
OKLaboklab(40.13% -0.0073 -0.1588)
OKLCHoklch(40.13% 0.159 267.4)
XYZxyz(8.3077, 5.9884, 32.1641)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C9C #9C8323
analogous
#23799C #233C9C #46239C
triadic
#233C9C #9C233C #3C9C23
tetradic
#233C9C #9C2379 #9C8323 #239C46
square
#233C9C #9C2379 #9C8323 #239C46
split-complementary
#233C9C #9C4623 #799C23
monochromatic
#0D1638 #18296A #233C9C #2E4FCE #5E78DB

Accessibility & contrast

On white

9.56
#233C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233C9C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C9C#FFFFFF#000000##FFFFFF
##233C9C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233c9c;
/* rgb */ color: rgb(35, 60, 156);
/* oklch */ color: oklch(40.1% 0.159 267.4);
Tailwind
colors: {
  custom: {
    50: '#7171ba',
    500: '#233c9c',
    950: '#000000',
  },
}
SCSS
$custom: #233c9c;
$custom-light: #7171ba;
$custom-dark: #000000;
JSON
{
  "hex": "#233c9c",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 156
  },
  "hsl": {
    "h": 227.603,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40126,
    "c": 0.15897,
    "h": 267.4
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#233C9C
secondary
#C0AB5B
accent
#C441E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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