#233C99#233C99

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

Color values

HEX#233C99
RGBrgb(35, 60, 153)
HSLhsl(227, 63%, 37%)
HSVhsv(227, 77%, 60%)
CMYKcmyk(77.1%, 60.8%, 0%, 40%)
CIE-LABlab(29.13, 25.12, -53.54)
CIE-LCHlch(29.13, 59.14, 295.14°)
OKLaboklab(39.86% -0.0073 -0.1547)
OKLCHoklch(39.86% 0.155 267.3)
XYZxyz(8.0568, 5.8881, 30.8427)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C99 #998023
analogous
#237799 #233C99 #452399
triadic
#233C99 #99233C #3C9923
tetradic
#233C99 #992377 #998023 #239945
square
#233C99 #992377 #998023 #239945
split-complementary
#233C99 #994523 #779923
monochromatic
#0C1535 #182867 #233C99 #2E50CB #5D77DA

Accessibility & contrast

On white

9.64
#233C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233C99
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C99#FFFFFF#000000##FFFFFF
##233C991.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233c99;
/* rgb */ color: rgb(35, 60, 153);
/* oklch */ color: oklch(39.9% 0.155 267.3);
Tailwind
colors: {
  custom: {
    50: '#7171b8',
    500: '#233c99',
    950: '#000000',
  },
}
SCSS
$custom: #233c99;
$custom-light: #7171b8;
$custom-dark: #000000;
JSON
{
  "hex": "#233c99",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 227.288,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39857,
    "c": 0.15483,
    "h": 267.3
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#233C99
secondary
#BEA959
accent
#C342E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233C99

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

Preview Lab → · Contrast checker → · Palette generator →

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