#231A6E#231A6E

#231A6E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.137 H 278.6°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#231A6E
RGBrgb(35, 26, 110)
HSLhsl(246, 62%, 27%)
HSVhsv(246, 76%, 43%)
CMYKcmyk(68.2%, 76.4%, 0%, 56.9%)
CIE-LABlab(16.61, 31.54, -47.01)
CIE-LCHlch(16.61, 56.61, 303.86°)
OKLaboklab(29.48% 0.0206 -0.1357)
OKLCHoklch(29.48% 0.137 278.6)
XYZxyz(3.8761, 2.2216, 14.9734)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A6E #656E1A
analogous
#1A3B6E #231A6E #4D1A6E
triadic
#231A6E #6E231A #1A6E23
tetradic
#231A6E #6E1A3B #656E1A #1A6E4D
square
#231A6E #6E1A3B #656E1A #1A6E4D
split-complementary
#231A6E #6E4D1A #3B6E1A
monochromatic
#080619 #130E3D #231A6E #3326A0 #4434CF

Accessibility & contrast

On white

14.54
#231A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#231A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A6E
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A6E#FFFFFF#000000##FFFFFF
##231A6E1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00266C
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231a6e;
/* rgb */ color: rgb(35, 26, 110);
/* oklch */ color: oklch(29.5% 0.137 278.6);
Tailwind
colors: {
  custom: {
    50: '#695899',
    500: '#231a6e',
    950: '#000000',
  },
}
SCSS
$custom: #231a6e;
$custom-light: #695899;
$custom-dark: #000000;
JSON
{
  "hex": "#231a6e",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 246.429,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29476,
    "c": 0.13727,
    "h": 278.6
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#231A6E
secondary
#99A341
accent
#E543D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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