#231A85#231A85

#231A85 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.167 H 275.2°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#231A85
RGBrgb(35, 26, 133)
HSLhsl(245, 67%, 31%)
HSVhsv(245, 80%, 52%)
CMYKcmyk(73.7%, 80.5%, 0%, 47.8%)
CIE-LABlab(19.18, 39.33, -57.49)
CIE-LCHlch(19.18, 69.66, 304.37°)
OKLaboklab(32.05% 0.015 -0.1662)
OKLCHoklch(32.05% 0.167 275.2)
XYZxyz(5.2948, 2.7891, 22.4451)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A85 #7C851A
analogous
#1A4685 #231A85 #581A85
triadic
#231A85 #85231A #1A8523
tetradic
#231A85 #851A46 #7C851A #1A8558
square
#231A85 #851A46 #7C851A #1A8558
split-complementary
#231A85 #85581A #46851A
monochromatic
#08061F #161052 #231A85 #3024B8 #4D40DA

Accessibility & contrast

On white

13.48
#231A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#231A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A85
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A85#FFFFFF#000000##FFFFFF
##231A851.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231a85;
/* rgb */ color: rgb(35, 26, 133);
/* oklch */ color: oklch(32.0% 0.167 275.2);
Tailwind
colors: {
  custom: {
    50: '#6f59aa',
    500: '#231a85',
    950: '#000000',
  },
}
SCSS
$custom: #231a85;
$custom-light: #6f59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#231a85",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 245.047,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3205,
    "c": 0.16693,
    "h": 275.2
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#231A85
secondary
#AFB842
accent
#EA3EDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231A85

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

Preview Lab → · Contrast checker → · Palette generator →

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