#231EA8#231EA8

#231EA8 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.6% C 0.206 H 271.4°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#231EA8
RGBrgb(35, 30, 168)
HSLhsl(242, 70%, 39%)
HSVhsv(242, 82%, 66%)
CMYKcmyk(79.2%, 82.1%, 0%, 34.1%)
CIE-LABlab(24.04, 48.56, -71.03)
CIE-LCHlch(24.04, 86.04, 304.36°)
OKLaboklab(36.64% 0.0051 -0.2056)
OKLCHoklch(36.64% 0.206 271.4)
XYZxyz(8.2229, 4.1121, 37.3985)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231EA8 #A3A81E
analogous
#1E5EA8 #231EA8 #681EA8
triadic
#231EA8 #A8231E #1EA823
tetradic
#231EA8 #A81E5E #A3A81E #1EA868
square
#231EA8 #A81E5E #A3A81E #1EA868
split-complementary
#231EA8 #A8681E #5EA81E
monochromatic
#0D0B40 #181574 #231EA8 #312AD9 #635EE2

Accessibility & contrast

On white

11.52
#231EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#231EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231EA8
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231EA8#FFFFFF#000000##FFFFFF
##231EA81.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AC
Deuteranopia (green-blind)
#0032A6
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #231ea8;
/* rgb */ color: rgb(35, 30, 168);
/* oklch */ color: oklch(36.6% 0.206 271.4);
Tailwind
colors: {
  custom: {
    50: '#775ec3',
    500: '#231ea8',
    950: '#000000',
  },
}
SCSS
$custom: #231ea8;
$custom-light: #775ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#231ea8",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 242.174,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.20564,
    "h": 271.4
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#231EA8
secondary
#C3C75B
accent
#ED3BE6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #231EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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