#232276#232276

#232276 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.139 H 275.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#232276
RGBrgb(35, 34, 118)
HSLhsl(241, 55%, 30%)
HSVhsv(241, 71%, 46%)
CMYKcmyk(70.3%, 71.2%, 0%, 53.7%)
CIE-LABlab(19.26, 29.35, -47.82)
CIE-LCHlch(19.26, 56.10, 301.54°)
OKLaboklab(31.62% 0.0133 -0.1381)
OKLCHoklch(31.62% 0.139 275.5)
XYZxyz(4.5341, 2.8090, 17.4393)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232276 #757622
analogous
#224B76 #232276 #4D2276
triadic
#232276 #762322 #227623
tetradic
#232276 #76224B #757622 #22764D
square
#232276 #76224B #757622 #22764D
split-complementary
#232276 #764D22 #4B7622
monochromatic
#070718 #151446 #232276 #3130A6 #4A48CA

Accessibility & contrast

On white

13.45
#232276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#232276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232276
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232276#FFFFFF#000000##FFFFFF
##2322761.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #232276;
/* rgb */ color: rgb(35, 34, 118);
/* oklch */ color: oklch(31.6% 0.139 275.5);
Tailwind
colors: {
  custom: {
    50: '#6a5d9e',
    500: '#232276',
    950: '#000000',
  },
}
SCSS
$custom: #232276;
$custom-light: #6a5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#232276",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 240.714,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31625,
    "c": 0.13873,
    "h": 275.5
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#232276
secondary
#A8A94B
accent
#DF49DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #232276

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

Preview Lab → · Contrast checker → · Palette generator →

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