#233D98#233D98

#233D98 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.152 H 267.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#233D98
RGBrgb(35, 61, 152)
HSLhsl(227, 63%, 37%)
HSVhsv(227, 77%, 60%)
CMYKcmyk(77%, 59.9%, 0%, 40.4%)
CIE-LABlab(29.31, 24.06, -52.63)
CIE-LCHlch(29.31, 57.87, 294.56°)
OKLaboklab(39.97% -0.0081 -0.152)
OKLCHoklch(39.97% 0.152 267)
XYZxyz(8.0274, 5.9609, 30.4272)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D98 #987E23
analogous
#237898 #233D98 #442398
triadic
#233D98 #98233D #3D9823
tetradic
#233D98 #982378 #987E23 #239844
square
#233D98 #982378 #987E23 #239844
split-complementary
#233D98 #984423 #789823
monochromatic
#0C1535 #182966 #233D98 #2E51CA #5C78D9

Accessibility & contrast

On white

9.58
#233D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#233D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D98
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D98#FFFFFF#000000##FFFFFF
##233D981.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233d98;
/* rgb */ color: rgb(35, 61, 152);
/* oklch */ color: oklch(40.0% 0.152 267.0);
Tailwind
colors: {
  custom: {
    50: '#7072b7',
    500: '#233d98',
    950: '#000000',
  },
}
SCSS
$custom: #233d98;
$custom-light: #7072b7;
$custom-dark: #000000;
JSON
{
  "hex": "#233d98",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 226.667,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3997,
    "c": 0.15218,
    "h": 267
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233D98

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

Preview Lab → · Contrast checker → · Palette generator →

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