#231A6F#231A6F

#231A6F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.139 H 278.5°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#231A6F
RGBrgb(35, 26, 111)
HSLhsl(246, 62%, 27%)
HSVhsv(246, 77%, 44%)
CMYKcmyk(68.5%, 76.6%, 0%, 56.5%)
CIE-LABlab(16.72, 31.89, -47.48)
CIE-LCHlch(16.72, 57.20, 303.89°)
OKLaboklab(29.58% 0.0204 -0.1371)
OKLCHoklch(29.58% 0.139 278.5)
XYZxyz(3.9309, 2.2435, 15.2617)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A6F #666F1A
analogous
#1A3C6F #231A6F #4E1A6F
triadic
#231A6F #6F231A #1A6F23
tetradic
#231A6F #6F1A3C #666F1A #1A6F4E
square
#231A6F #6F1A3C #666F1A #1A6F4E
split-complementary
#231A6F #6F4E1A #3C6F1A
monochromatic
#080619 #130E3D #231A6F #3326A1 #4434CF

Accessibility & contrast

On white

14.49
#231A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#231A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A6F
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A6F#FFFFFF#000000##FFFFFF
##231A6F1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231a6f;
/* rgb */ color: rgb(35, 26, 111);
/* oklch */ color: oklch(29.6% 0.139 278.5);
Tailwind
colors: {
  custom: {
    50: '#6a5899',
    500: '#231a6f',
    950: '#000000',
  },
}
SCSS
$custom: #231a6f;
$custom-light: #6a5899;
$custom-dark: #000000;
JSON
{
  "hex": "#231a6f",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 246.353,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29584,
    "c": 0.13861,
    "h": 278.5
  },
  "luminance": 0.02244
}

Semantic roles & 50–950 ramp

primary
#231A6F
secondary
#9AA441
accent
#E543D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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