#231A66#231A66

#231A66 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.126 H 280.2°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#231A66
RGBrgb(35, 26, 102)
HSLhsl(247, 59%, 25%)
HSVhsv(247, 75%, 40%)
CMYKcmyk(65.7%, 74.5%, 0%, 60%)
CIE-LABlab(15.77, 28.75, -43.15)
CIE-LCHlch(15.77, 51.85, 303.68°)
OKLaboklab(28.63% 0.0223 -0.1244)
OKLCHoklch(28.63% 0.126 280.2)
XYZxyz(3.4600, 2.0552, 12.7821)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A66 #5D661A
analogous
#1A3766 #231A66 #491A66
triadic
#231A66 #66231A #1A6623
tetradic
#231A66 #661A37 #5D661A #1A6649
square
#231A66 #661A37 #5D661A #1A6649
split-complementary
#231A66 #66491A #37661A
monochromatic
#080618 #120E35 #231A66 #342697 #4433C8

Accessibility & contrast

On white

14.88
#231A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#231A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A66
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A66#FFFFFF#000000##FFFFFF
##231A661.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231a66;
/* rgb */ color: rgb(35, 26, 102);
/* oklch */ color: oklch(28.6% 0.126 280.2);
Tailwind
colors: {
  custom: {
    50: '#675792',
    500: '#231a66',
    950: '#000000',
  },
}
SCSS
$custom: #231a66;
$custom-light: #675792;
$custom-dark: #000000;
JSON
{
  "hex": "#231a66",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 247.105,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28627,
    "c": 0.1264,
    "h": 280.2
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#231A66
secondary
#919C40
accent
#E345D0
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231A66

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

Preview Lab → · Contrast checker → · Palette generator →

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