#233C96#233C96

#233C96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.151 H 267.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#233C96
RGBrgb(35, 60, 150)
HSLhsl(227, 62%, 36%)
HSVhsv(227, 77%, 59%)
CMYKcmyk(76.7%, 60%, 0%, 41.2%)
CIE-LABlab(28.88, 23.96, -52.12)
CIE-LCHlch(28.88, 57.36, 294.69°)
OKLaboklab(39.59% -0.0074 -0.1505)
OKLCHoklch(39.59% 0.151 267.2)
XYZxyz(7.8121, 5.7902, 29.5541)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C96 #967D23
analogous
#237696 #233C96 #442396
triadic
#233C96 #96233C #3C9623
tetradic
#233C96 #962376 #967D23 #239644
square
#233C96 #962376 #967D23 #239644
split-complementary
#233C96 #964423 #769623
monochromatic
#0C1433 #172864 #233C96 #2F50C8 #5B76D9

Accessibility & contrast

On white

9.73
#233C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#233C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C96
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C96#FFFFFF#000000##FFFFFF
##233C961.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233c96;
/* rgb */ color: rgb(35, 60, 150);
/* oklch */ color: oklch(39.6% 0.151 267.2);
Tailwind
colors: {
  custom: {
    50: '#7071b6',
    500: '#233c96',
    950: '#000000',
  },
}
SCSS
$custom: #233c96;
$custom-light: #7071b6;
$custom-dark: #000000;
JSON
{
  "hex": "#233c96",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 226.957,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39592,
    "c": 0.15067,
    "h": 267.2
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#233C96
secondary
#BDA758
accent
#C243E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233C96

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

Preview Lab → · Contrast checker → · Palette generator →

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