#232472#232472

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

Color values

HEX#232472
RGBrgb(35, 36, 114)
HSLhsl(239, 53%, 29%)
HSVhsv(239, 69%, 45%)
CMYKcmyk(69.3%, 68.4%, 0%, 55.3%)
CIE-LABlab(19.36, 26.56, -45.08)
CIE-LCHlch(19.36, 52.32, 300.50°)
OKLaboklab(31.58% 0.0122 -0.1301)
OKLCHoklch(31.58% 0.131 275.4)
XYZxyz(4.3603, 2.8336, 16.2335)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232472 #727123
analogous
#234C72 #232472 #4A2372
triadic
#232472 #722324 #247223
tetradic
#232472 #72234C #727123 #23724A
square
#232472 #72234C #727123 #23724A
split-complementary
#232472 #724A23 #4C7223
monochromatic
#070717 #151543 #232472 #3133A1 #484AC7

Accessibility & contrast

On white

13.40
#232472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#232472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232472
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232472#FFFFFF#000000##FFFFFF
##2324721.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #232472;
/* rgb */ color: rgb(35, 36, 114);
/* oklch */ color: oklch(31.6% 0.131 275.4);
Tailwind
colors: {
  custom: {
    50: '#695f9b',
    500: '#232472',
    950: '#000000',
  },
}
SCSS
$custom: #232472;
$custom-light: #695f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#232472",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 239.241,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31581,
    "c": 0.13063,
    "h": 275.4
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#232472
secondary
#A5A44C
accent
#DB4BDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #232472

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

Preview Lab → · Contrast checker → · Palette generator →

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