#232A97#232A97

#232A97 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.174 H 271.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#232A97
RGBrgb(35, 42, 151)
HSLhsl(236, 62%, 36%)
HSVhsv(236, 77%, 59%)
CMYKcmyk(76.8%, 72.2%, 0%, 40.8%)
CIE-LABlab(24.47, 36.18, -59.95)
CIE-LCHlch(24.47, 70.03, 301.11°)
OKLaboklab(36.39% 0.0038 -0.1735)
OKLCHoklch(36.39% 0.174 271.2)
XYZxyz(7.1051, 4.2469, 29.7174)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A97 #979023
analogous
#236497 #232A97 #562397
triadic
#232A97 #97232A #2A9723
tetradic
#232A97 #972364 #979023 #239756
square
#232A97 #972364 #979023 #239756
split-complementary
#232A97 #975623 #649723
monochromatic
#0C0E34 #171C65 #232A97 #2F38C9 #5B63D9

Accessibility & contrast

On white

11.35
#232A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#232A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A97
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A97#FFFFFF#000000##FFFFFF
##232A971.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #232a97;
/* rgb */ color: rgb(35, 42, 151);
/* oklch */ color: oklch(36.4% 0.174 271.2);
Tailwind
colors: {
  custom: {
    50: '#7264b7',
    500: '#232a97',
    950: '#000000',
  },
}
SCSS
$custom: #232a97;
$custom-light: #7264b7;
$custom-dark: #000000;
JSON
{
  "hex": "#232a97",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 236.379,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3639,
    "c": 0.17358,
    "h": 271.2
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#232A97
secondary
#BEB758
accent
#DC42E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #232A97

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

Preview Lab → · Contrast checker → · Palette generator →

#232A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva