#232198#232198

#232198 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.184 H 272.4°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#232198
RGBrgb(35, 33, 152)
HSLhsl(241, 64%, 36%)
HSVhsv(241, 78%, 60%)
CMYKcmyk(77%, 78.3%, 0%, 40.4%)
CIE-LABlab(22.69, 41.83, -63.51)
CIE-LCHlch(22.69, 76.04, 303.37°)
OKLaboklab(35.16% 0.0077 -0.1838)
OKLCHoklch(35.16% 0.184 272.4)
XYZxyz(6.9026, 3.7113, 30.0522)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232198 #969821
analogous
#215B98 #232198 #5F2198
triadic
#232198 #982321 #219823
tetradic
#232198 #98215B #969821 #21985F
square
#232198 #98215B #969821 #21985F
split-complementary
#232198 #985F21 #5B9821
monochromatic
#0C0B33 #171666 #232198 #2F2CCA #5B59DB

Accessibility & contrast

On white

12.05
#232198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#232198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232198
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232198#FFFFFF#000000##FFFFFF
##2321981.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9B
Deuteranopia (green-blind)
#003096
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232198;
/* rgb */ color: rgb(35, 33, 152);
/* oklch */ color: oklch(35.2% 0.184 272.4);
Tailwind
colors: {
  custom: {
    50: '#735fb8',
    500: '#232198',
    950: '#000000',
  },
}
SCSS
$custom: #232198;
$custom-light: #735fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#232198",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 241.008,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35157,
    "c": 0.18396,
    "h": 272.4
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#232198
secondary
#BDBF56
accent
#E740E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #232198

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

Preview Lab → · Contrast checker → · Palette generator →

#232198 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva