#231A72#231A72

#231A72 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.143 H 277.9°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#231A72
RGBrgb(35, 26, 114)
HSLhsl(246, 63%, 27%)
HSVhsv(246, 77%, 45%)
CMYKcmyk(69.3%, 77.2%, 0%, 55.3%)
CIE-LABlab(17.04, 32.92, -48.90)
CIE-LCHlch(17.04, 58.95, 303.96°)
OKLaboklab(29.91% 0.0197 -0.1412)
OKLCHoklch(29.91% 0.143 277.9)
XYZxyz(4.0988, 2.3107, 16.1463)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A72 #69721A
analogous
#1A3D72 #231A72 #4F1A72
triadic
#231A72 #72231A #1A7223
tetradic
#231A72 #721A3D #69721A #1A724F
square
#231A72 #721A3D #69721A #1A724F
split-complementary
#231A72 #724F1A #3D721A
monochromatic
#080619 #140F40 #231A72 #3225A4 #4535D1

Accessibility & contrast

On white

14.36
#231A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#231A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A72
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A72#FFFFFF#000000##FFFFFF
##231A721.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002670
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231a72;
/* rgb */ color: rgb(35, 26, 114);
/* oklch */ color: oklch(29.9% 0.143 277.9);
Tailwind
colors: {
  custom: {
    50: '#6a589c',
    500: '#231a72',
    950: '#000000',
  },
}
SCSS
$custom: #231a72;
$custom-light: #6a589c;
$custom-dark: #000000;
JSON
{
  "hex": "#231a72",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 246.136,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29911,
    "c": 0.14259,
    "h": 277.9
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#231A72
secondary
#9CA741
accent
#E642D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231A72

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

Preview Lab → · Contrast checker → · Palette generator →

#231A72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva