#232974#232974

#232974 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.127 H 273.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#232974
RGBrgb(35, 41, 116)
HSLhsl(236, 54%, 30%)
HSVhsv(236, 70%, 45%)
CMYKcmyk(69.8%, 64.7%, 0%, 54.5%)
CIE-LABlab(20.84, 23.90, -43.95)
CIE-LCHlch(20.84, 50.03, 298.54°)
OKLaboklab(32.72% 0.0079 -0.1267)
OKLCHoklch(32.72% 0.127 273.5)
XYZxyz(4.6374, 3.2037, 16.8936)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232974 #746E23
analogous
#235174 #232974 #462374
triadic
#232974 #742329 #297423
tetradic
#232974 #742351 #746E23 #237446
square
#232974 #742351 #746E23 #237446
split-complementary
#232974 #744623 #517423
monochromatic
#070818 #151845 #232974 #313AA3 #4953C8

Accessibility & contrast

On white

12.80
#232974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#232974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232974
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232974#FFFFFF#000000##FFFFFF
##2329741.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232974;
/* rgb */ color: rgb(35, 41, 116);
/* oklch */ color: oklch(32.7% 0.127 273.5);
Tailwind
colors: {
  custom: {
    50: '#69629d',
    500: '#232974',
    950: '#000000',
  },
}
SCSS
$custom: #232974;
$custom-light: #69629d;
$custom-dark: #000000;
JSON
{
  "hex": "#232974",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 235.556,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32719,
    "c": 0.12696,
    "h": 273.5
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#232974
secondary
#A7A04C
accent
#D24BDD
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #232974

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

Preview Lab → · Contrast checker → · Palette generator →

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