#231AA0#231AA0

#231AA0 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.2% C 0.199 H 272.3°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#231AA0
RGBrgb(35, 26, 160)
HSLhsl(244, 72%, 36%)
HSVhsv(244, 84%, 63%)
CMYKcmyk(78.1%, 83.8%, 0%, 37.3%)
CIE-LABlab(22.42, 47.95, -68.86)
CIE-LCHlch(22.42, 83.91, 304.85°)
OKLaboklab(35.24% 0.008 -0.1992)
OKLCHoklch(35.24% 0.199 272.3)
XYZxyz(7.4056, 3.6334, 33.5619)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231AA0 #97A01A
analogous
#1A54A0 #231AA0 #661AA0
triadic
#231AA0 #A0231A #1AA023
tetradic
#231AA0 #A01A54 #97A01A #1AA066
square
#231AA0 #A01A54 #97A01A #1AA066
split-complementary
#231AA0 #A0661A #54A01A
monochromatic
#0C0937 #17116B #231AA0 #2F23D5 #5B52E3

Accessibility & contrast

On white

12.16
#231AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#231AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231AA0
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231AA0#FFFFFF#000000##FFFFFF
##231AA01.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #231aa0;
/* rgb */ color: rgb(35, 26, 160);
/* oklch */ color: oklch(35.2% 0.199 272.3);
Tailwind
colors: {
  custom: {
    50: '#765bbe',
    500: '#231aa0',
    950: '#000000',
  },
}
SCSS
$custom: #231aa0;
$custom-light: #765bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#231aa0",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 244.03,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35243,
    "c": 0.19937,
    "h": 272.3
  },
  "luminance": 0.03634
}

Semantic roles & 50–950 ramp

primary
#231AA0
secondary
#BEC550
accent
#EF39E3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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