#232296#232296

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

Color values

HEX#232296
RGBrgb(35, 34, 150)
HSLhsl(241, 63%, 36%)
HSVhsv(241, 77%, 59%)
CMYKcmyk(76.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(22.66, 40.59, -62.32)
CIE-LCHlch(22.66, 74.38, 303.08°)
OKLaboklab(35.07% 0.0077 -0.1804)
OKLCHoklch(35.07% 0.181 272.4)
XYZxyz(6.7683, 3.7027, 29.2062)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232296 #959622
analogous
#225B96 #232296 #5D2296
triadic
#232296 #962322 #229623
tetradic
#232296 #96225B #959622 #22965D
square
#232296 #96225B #959622 #22965D
split-complementary
#232296 #965D22 #5B9622
monochromatic
#0C0B32 #171764 #232296 #2F2DC8 #5A59D9

Accessibility & contrast

On white

12.06
#232296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232296
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232296#FFFFFF#000000##FFFFFF
##2322961.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232296;
/* rgb */ color: rgb(35, 34, 150);
/* oklch */ color: oklch(35.1% 0.181 272.4);
Tailwind
colors: {
  custom: {
    50: '#725fb6',
    500: '#232296',
    950: '#000000',
  },
}
SCSS
$custom: #232296;
$custom-light: #725fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#232296",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 240.517,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3507,
    "c": 0.18054,
    "h": 272.4
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#232296
secondary
#BDBE56
accent
#E642E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232296

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

Preview Lab → · Contrast checker → · Palette generator →

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