#231A8F#231A8F

#231A8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.179 H 274.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#231A8F
RGBrgb(35, 26, 143)
HSLhsl(245, 69%, 33%)
HSVhsv(245, 82%, 56%)
CMYKcmyk(75.5%, 81.8%, 0%, 43.9%)
CIE-LABlab(20.36, 42.59, -61.81)
CIE-LCHlch(20.36, 75.06, 304.57°)
OKLaboklab(33.22% 0.0124 -0.1788)
OKLCHoklch(33.22% 0.179 274)
XYZxyz(6.0188, 3.0787, 26.2583)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A8F #868F1A
analogous
#1A4C8F #231A8F #5D1A8F
triadic
#231A8F #8F231A #1A8F23
tetradic
#231A8F #8F1A4C #868F1A #1A8F5D
square
#231A8F #8F1A4C #868F1A #1A8F5D
split-complementary
#231A8F #8F5D1A #4C8F1A
monochromatic
#0A0727 #16115B #231A8F #3023C3 #5246DD

Accessibility & contrast

On white

13.00
#231A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#231A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A8F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A8F#FFFFFF#000000##FFFFFF
##231A8F1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231a8f;
/* rgb */ color: rgb(35, 26, 143);
/* oklch */ color: oklch(33.2% 0.179 274.0);
Tailwind
colors: {
  custom: {
    50: '#715ab1',
    500: '#231a8f',
    950: '#000000',
  },
}
SCSS
$custom: #231a8f;
$custom-light: #715ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#231a8f",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 244.615,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33216,
    "c": 0.1792,
    "h": 274
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#231A8F
secondary
#B5BF46
accent
#EC3CDE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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