#232298#232298

#232298 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.183 H 272.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#232298
RGBrgb(35, 34, 152)
HSLhsl(241, 63%, 36%)
HSVhsv(241, 78%, 60%)
CMYKcmyk(77%, 77.6%, 0%, 40.4%)
CIE-LABlab(22.89, 41.27, -63.18)
CIE-LCHlch(22.89, 75.47, 303.15°)
OKLaboklab(35.3% 0.0073 -0.1829)
OKLCHoklch(35.3% 0.183 272.3)
XYZxyz(6.9308, 3.7676, 30.0616)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232298 #979822
analogous
#225C98 #232298 #5E2298
triadic
#232298 #982322 #229823
tetradic
#232298 #98225C #979822 #22985E
square
#232298 #98225C #979822 #22985E
split-complementary
#232298 #985E22 #5C9822
monochromatic
#0C0C34 #171766 #232298 #2F2DCA #5B5ADA

Accessibility & contrast

On white

11.98
#232298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#232298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232298
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232298#FFFFFF#000000##FFFFFF
##2322981.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232298;
/* rgb */ color: rgb(35, 34, 152);
/* oklch */ color: oklch(35.3% 0.183 272.3);
Tailwind
colors: {
  custom: {
    50: '#735fb8',
    500: '#232298',
    950: '#000000',
  },
}
SCSS
$custom: #232298;
$custom-light: #735fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#232298",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 240.508,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35295,
    "c": 0.18302,
    "h": 272.3
  },
  "luminance": 0.03768
}

Semantic roles & 50–950 ramp

primary
#232298
secondary
#BEBE57
accent
#E641E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232298

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

Preview Lab → · Contrast checker → · Palette generator →

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