#232299#232299

#232299 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.184 H 272.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#232299
RGBrgb(35, 34, 153)
HSLhsl(241, 64%, 37%)
HSVhsv(241, 78%, 60%)
CMYKcmyk(77.1%, 77.8%, 0%, 40%)
CIE-LABlab(23.00, 41.61, -63.61)
CIE-LCHlch(23.00, 76.01, 303.19°)
OKLaboklab(35.41% 0.0071 -0.1841)
OKLCHoklch(35.41% 0.184 272.2)
XYZxyz(7.0130, 3.8005, 30.4948)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232299 #989922
analogous
#225D99 #232299 #5F2299
triadic
#232299 #992322 #229923
tetradic
#232299 #99225D #989922 #22995F
square
#232299 #99225D #989922 #22995F
split-complementary
#232299 #995F22 #5D9922
monochromatic
#0C0C35 #181767 #232299 #2E2DCB #5C5BDB

Accessibility & contrast

On white

11.93
#232299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#232299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232299
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232299#FFFFFF#000000##FFFFFF
##2322991.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #232299;
/* rgb */ color: rgb(35, 34, 153);
/* oklch */ color: oklch(35.4% 0.184 272.2);
Tailwind
colors: {
  custom: {
    50: '#735fb8',
    500: '#232299',
    950: '#000000',
  },
}
SCSS
$custom: #232299;
$custom-light: #735fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#232299",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 240.504,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35407,
    "c": 0.18425,
    "h": 272.2
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#232299
secondary
#BEBF58
accent
#E741E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #232299

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

Preview Lab → · Contrast checker → · Palette generator →

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