#231A6B#231A6B

#231A6B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.133 H 279.2°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#231A6B
RGBrgb(35, 26, 107)
HSLhsl(247, 61%, 26%)
HSVhsv(247, 76%, 42%)
CMYKcmyk(67.3%, 75.7%, 0%, 58%)
CIE-LABlab(16.29, 30.50, -45.57)
CIE-LCHlch(16.29, 54.84, 303.79°)
OKLaboklab(29.15% 0.0213 -0.1315)
OKLCHoklch(29.15% 0.133 279.2)
XYZxyz(3.7155, 2.1574, 14.1277)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A6B #626B1A
analogous
#1A396B #231A6B #4B1A6B
triadic
#231A6B #6B231A #1A6B23
tetradic
#231A6B #6B1A39 #626B1A #1A6B4B
square
#231A6B #6B1A39 #626B1A #1A6B4B
split-complementary
#231A6B #6B4B1A #396B1A
monochromatic
#080619 #130E3A #231A6B #33269C #4332CD

Accessibility & contrast

On white

14.67
#231A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#231A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A6B
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A6B#FFFFFF#000000##FFFFFF
##231A6B1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#00256A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231a6b;
/* rgb */ color: rgb(35, 26, 107);
/* oklch */ color: oklch(29.2% 0.133 279.2);
Tailwind
colors: {
  custom: {
    50: '#695896',
    500: '#231a6b',
    950: '#000000',
  },
}
SCSS
$custom: #231a6b;
$custom-light: #695896;
$custom-dark: #000000;
JSON
{
  "hex": "#231a6b",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 246.667,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29154,
    "c": 0.13323,
    "h": 279.2
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#231A6B
secondary
#96A040
accent
#E444D2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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