#231AB3#231AB3

#231AB3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.6% C 0.221 H 270.8°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#231AB3
RGBrgb(35, 26, 179)
HSLhsl(244, 75%, 40%)
HSVhsv(244, 85%, 70%)
CMYKcmyk(80.4%, 85.5%, 0%, 29.8%)
CIE-LABlab(24.80, 53.70, -76.39)
CIE-LCHlch(24.80, 93.38, 305.11°)
OKLaboklab(37.56% 0.0033 -0.221)
OKLCHoklch(37.56% 0.221 270.8)
XYZxyz(9.1965, 4.3497, 42.9940)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231AB3 #AAB31A
analogous
#1A5EB3 #231AB3 #6F1AB3
triadic
#231AB3 #B3231A #1AB323
tetradic
#231AB3 #B31A5E #AAB31A #1AB36F
square
#231AB3 #B31A5E #AAB31A #1AB36F
split-complementary
#231AB3 #B36F1A #5EB31A
monochromatic
#0E0A48 #19127E #231AB3 #352AE0 #6860E8

Accessibility & contrast

On white

11.23
#231AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#231AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231AB3
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231AB3#FFFFFF#000000##FFFFFF
##231AB31.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0033B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #231ab3;
/* rgb */ color: rgb(35, 26, 179);
/* oklch */ color: oklch(37.6% 0.221 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a5dcb',
    500: '#231ab3',
    950: '#000000',
  },
}
SCSS
$custom: #231ab3;
$custom-light: #7a5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#231ab3",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 243.529,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37555,
    "c": 0.22102,
    "h": 270.8
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#231AB3
secondary
#C6CC5D
accent
#F137E6
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #231AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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