#231A83#231A83

#231A83 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.164 H 275.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#231A83
RGBrgb(35, 26, 131)
HSLhsl(245, 67%, 31%)
HSVhsv(245, 80%, 51%)
CMYKcmyk(73.3%, 80.2%, 0%, 48.6%)
CIE-LABlab(18.95, 38.67, -56.61)
CIE-LCHlch(18.95, 68.56, 304.33°)
OKLaboklab(31.82% 0.0155 -0.1637)
OKLCHoklch(31.82% 0.164 275.4)
XYZxyz(5.1579, 2.7343, 21.7243)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A83 #7A831A
analogous
#1A4583 #231A83 #571A83
triadic
#231A83 #83231A #1A8323
tetradic
#231A83 #831A45 #7A831A #1A8357
square
#231A83 #831A45 #7A831A #1A8357
split-complementary
#231A83 #83571A #45831A
monochromatic
#08061D #151050 #231A83 #3124B6 #4C3FD9

Accessibility & contrast

On white

13.57
#231A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#231A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A83
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A83#FFFFFF#000000##FFFFFF
##231A831.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231a83;
/* rgb */ color: rgb(35, 26, 131);
/* oklch */ color: oklch(31.8% 0.164 275.4);
Tailwind
colors: {
  custom: {
    50: '#6e59a8',
    500: '#231a83',
    950: '#000000',
  },
}
SCSS
$custom: #231a83;
$custom-light: #6e59a8;
$custom-dark: #000000;
JSON
{
  "hex": "#231a83",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 245.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3182,
    "c": 0.16443,
    "h": 275.4
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#231A83
secondary
#ADB742
accent
#EA3EDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231A83

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

Preview Lab → · Contrast checker → · Palette generator →

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