#233C98#233C98

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

Color values

HEX#233C98
RGBrgb(35, 60, 152)
HSLhsl(227, 63%, 37%)
HSVhsv(227, 77%, 60%)
CMYKcmyk(77%, 60.5%, 0%, 40.4%)
CIE-LABlab(29.04, 24.73, -53.07)
CIE-LCHlch(29.04, 58.55, 294.99°)
OKLaboklab(39.77% -0.0074 -0.1533)
OKLCHoklch(39.77% 0.153 267.3)
XYZxyz(7.9745, 5.8552, 30.4096)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C98 #987F23
analogous
#237798 #233C98 #442398
triadic
#233C98 #98233C #3C9823
tetradic
#233C98 #982377 #987F23 #239844
square
#233C98 #982377 #987F23 #239844
split-complementary
#233C98 #984423 #779823
monochromatic
#0C1535 #182866 #233C98 #2E50CA #5C77D9

Accessibility & contrast

On white

9.67
#233C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#233C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C98
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C98#FFFFFF#000000##FFFFFF
##233C981.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233c98;
/* rgb */ color: rgb(35, 60, 152);
/* oklch */ color: oklch(39.8% 0.153 267.3);
Tailwind
colors: {
  custom: {
    50: '#7071b7',
    500: '#233c98',
    950: '#000000',
  },
}
SCSS
$custom: #233c98;
$custom-light: #7071b7;
$custom-dark: #000000;
JSON
{
  "hex": "#233c98",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 227.179,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39768,
    "c": 0.15345,
    "h": 267.3
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233C98

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

Preview Lab → · Contrast checker → · Palette generator →

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