#231A6A#231A6A

#231A6A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.132 H 279.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#231A6A
RGBrgb(35, 26, 106)
HSLhsl(247, 61%, 26%)
HSVhsv(247, 75%, 42%)
CMYKcmyk(67%, 75.5%, 0%, 58.4%)
CIE-LABlab(16.19, 30.15, -45.09)
CIE-LCHlch(16.19, 54.25, 303.77°)
OKLaboklab(29.05% 0.0215 -0.1301)
OKLCHoklch(29.05% 0.132 279.4)
XYZxyz(3.6632, 2.1364, 13.8522)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A6A #616A1A
analogous
#1A396A #231A6A #4B1A6A
triadic
#231A6A #6A231A #1A6A23
tetradic
#231A6A #6A1A39 #616A1A #1A6A4B
square
#231A6A #6A1A39 #616A1A #1A6A4B
split-complementary
#231A6A #6A4B1A #396A1A
monochromatic
#080619 #130E39 #231A6A #33269B #4332CC

Accessibility & contrast

On white

14.71
#231A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231A6A
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A6A#FFFFFF#000000##FFFFFF
##231A6A1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231a6a;
/* rgb */ color: rgb(35, 26, 106);
/* oklch */ color: oklch(29.0% 0.132 279.4);
Tailwind
colors: {
  custom: {
    50: '#685895',
    500: '#231a6a',
    950: '#000000',
  },
}
SCSS
$custom: #231a6a;
$custom-light: #685895;
$custom-dark: #000000;
JSON
{
  "hex": "#231a6a",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 106
  },
  "hsl": {
    "h": 246.75,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29048,
    "c": 0.13187,
    "h": 279.4
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#231A6A
secondary
#959F40
accent
#E444D2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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