#232994#232994

#232994 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.171 H 271.6°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#232994
RGBrgb(35, 41, 148)
HSLhsl(237, 62%, 36%)
HSVhsv(237, 76%, 58%)
CMYKcmyk(76.4%, 72.3%, 0%, 42%)
CIE-LABlab(23.94, 35.73, -58.99)
CIE-LCHlch(23.94, 68.97, 301.20°)
OKLaboklab(35.91% 0.0047 -0.1707)
OKLCHoklch(35.91% 0.171 271.6)
XYZxyz(6.8296, 4.0806, 28.4389)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232994 #948E23
analogous
#236194 #232994 #552394
triadic
#232994 #942329 #299423
tetradic
#232994 #942361 #948E23 #239455
square
#232994 #942361 #948E23 #239455
split-complementary
#232994 #945523 #619423
monochromatic
#0C0E31 #171B63 #232994 #2F37C5 #5A60D8

Accessibility & contrast

On white

11.56
#232994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#232994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232994
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232994#FFFFFF#000000##FFFFFF
##2329941.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #232994;
/* rgb */ color: rgb(35, 41, 148);
/* oklch */ color: oklch(35.9% 0.171 271.6);
Tailwind
colors: {
  custom: {
    50: '#7163b5',
    500: '#232994',
    950: '#000000',
  },
}
SCSS
$custom: #232994;
$custom-light: #7163b5;
$custom-dark: #000000;
JSON
{
  "hex": "#232994",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 236.814,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35912,
    "c": 0.17078,
    "h": 271.6
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#232994
secondary
#BCB757
accent
#DC43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #232994

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

Preview Lab → · Contrast checker → · Palette generator →

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