#231AA8#231AA8

#231AA8 is a dark, highly saturated blue. Relative luminance 0.039; OKLCH L 36.2% C 0.209 H 271.7°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#231AA8
RGBrgb(35, 26, 168)
HSLhsl(244, 73%, 38%)
HSVhsv(244, 85%, 66%)
CMYKcmyk(79.2%, 84.5%, 0%, 34.1%)
CIE-LABlab(23.41, 50.40, -72.07)
CIE-LCHlch(23.41, 87.95, 304.97°)
OKLaboklab(36.21% 0.006 -0.2085)
OKLCHoklch(36.21% 0.209 271.7)
XYZxyz(8.1280, 3.9224, 37.3669)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231AA8 #9FA81A
analogous
#1A58A8 #231AA8 #6A1AA8
triadic
#231AA8 #A8231A #1AA823
tetradic
#231AA8 #A81A58 #9FA81A #1AA86A
square
#231AA8 #A81A58 #9FA81A #1AA86A
split-complementary
#231AA8 #A86A1A #58A81A
monochromatic
#0D0A3E #181273 #231AA8 #2E22DD #6057E5

Accessibility & contrast

On white

11.77
#231AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#231AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231AA8
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231AA8#FFFFFF#000000##FFFFFF
##231AA81.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EAC
Deuteranopia (green-blind)
#0031A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #231aa8;
/* rgb */ color: rgb(35, 26, 168);
/* oklch */ color: oklch(36.2% 0.209 271.7);
Tailwind
colors: {
  custom: {
    50: '#785cc3',
    500: '#231aa8',
    950: '#000000',
  },
}
SCSS
$custom: #231aa8;
$custom-light: #785cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#231aa8",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 168
  },
  "hsl": {
    "h": 243.803,
    "s": 73.196,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36211,
    "c": 0.2086,
    "h": 271.7
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#231AA8
secondary
#C1C855
accent
#F038E4
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #231AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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