#232272#232272

#232272 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.133 H 276.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#232272
RGBrgb(35, 34, 114)
HSLhsl(241, 54%, 29%)
HSVhsv(241, 70%, 45%)
CMYKcmyk(69.3%, 70.2%, 0%, 55.3%)
CIE-LABlab(18.87, 27.89, -45.89)
CIE-LCHlch(18.87, 53.70, 301.29°)
OKLaboklab(31.22% 0.0139 -0.1325)
OKLCHoklch(31.22% 0.133 276)
XYZxyz(4.3014, 2.7159, 16.2139)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232272 #717222
analogous
#224972 #232272 #4B2272
triadic
#232272 #722322 #227223
tetradic
#232272 #722249 #717222 #22724B
square
#232272 #722249 #717222 #22724B
split-complementary
#232272 #724B22 #497222
monochromatic
#070718 #151443 #232272 #3130A1 #4846C8

Accessibility & contrast

On white

13.61
#232272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#232272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232272
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232272#FFFFFF#000000##FFFFFF
##2322721.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #232272;
/* rgb */ color: rgb(35, 34, 114);
/* oklch */ color: oklch(31.2% 0.133 276.0);
Tailwind
colors: {
  custom: {
    50: '#695d9b',
    500: '#232272',
    950: '#000000',
  },
}
SCSS
$custom: #232272;
$custom-light: #695d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#232272",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 240.75,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3122,
    "c": 0.13317,
    "h": 276
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#232272
secondary
#A4A54B
accent
#DD4ADC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #232272

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

Preview Lab → · Contrast checker → · Palette generator →

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