#231A71#231A71

#231A71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.141 H 278.1°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#231A71
RGBrgb(35, 26, 113)
HSLhsl(246, 63%, 27%)
HSVhsv(246, 77%, 44%)
CMYKcmyk(69%, 77%, 0%, 55.7%)
CIE-LABlab(16.93, 32.58, -48.43)
CIE-LCHlch(16.93, 58.37, 303.93°)
OKLaboklab(29.8% 0.0199 -0.1398)
OKLCHoklch(29.8% 0.141 278.1)
XYZxyz(4.0422, 2.2880, 15.8482)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A71 #68711A
analogous
#1A3D71 #231A71 #4F1A71
triadic
#231A71 #71231A #1A7123
tetradic
#231A71 #711A3D #68711A #1A714F
square
#231A71 #711A3D #68711A #1A714F
split-complementary
#231A71 #714F1A #3D711A
monochromatic
#080619 #140F3F #231A71 #3225A3 #4535D0

Accessibility & contrast

On white

14.41
#231A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231A71
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A71#FFFFFF#000000##FFFFFF
##231A711.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #231a71;
/* rgb */ color: rgb(35, 26, 113);
/* oklch */ color: oklch(29.8% 0.141 278.1);
Tailwind
colors: {
  custom: {
    50: '#6a589b',
    500: '#231a71',
    950: '#000000',
  },
}
SCSS
$custom: #231a71;
$custom-light: #6a589b;
$custom-dark: #000000;
JSON
{
  "hex": "#231a71",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 246.207,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29801,
    "c": 0.14126,
    "h": 278.1
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231A71

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

Preview Lab → · Contrast checker → · Palette generator →

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