#231EA0#231EA0

#231EA0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.196 H 272.0°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#231EA0
RGBrgb(35, 30, 160)
HSLhsl(242, 68%, 37%)
HSVhsv(242, 81%, 63%)
CMYKcmyk(78.1%, 81.3%, 0%, 37.3%)
CIE-LABlab(23.08, 46.02, -67.77)
CIE-LCHlch(23.08, 81.92, 304.18°)
OKLaboklab(35.7% 0.0069 -0.1961)
OKLCHoklch(35.7% 0.196 272)
XYZxyz(7.5004, 3.8231, 33.5935)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231EA0 #9BA01E
analogous
#1E5AA0 #231EA0 #641EA0
triadic
#231EA0 #A0231E #1EA023
tetradic
#231EA0 #A01E5A #9BA01E #1EA064
square
#231EA0 #A01E5A #9BA01E #1EA064
split-complementary
#231EA0 #A0641E #5AA01E
monochromatic
#0C0B39 #18146C #231EA0 #2E28D4 #5E59E0

Accessibility & contrast

On white

11.90
#231EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#231EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231EA0
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231EA0#FFFFFF#000000##FFFFFF
##231EA01.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00309E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #231ea0;
/* rgb */ color: rgb(35, 30, 160);
/* oklch */ color: oklch(35.7% 0.196 272.0);
Tailwind
colors: {
  custom: {
    50: '#755dbd',
    500: '#231ea0',
    950: '#000000',
  },
}
SCSS
$custom: #231ea0;
$custom-light: #755dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#231ea0",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 242.308,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35698,
    "c": 0.19625,
    "h": 272
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#231EA0
secondary
#BFC456
accent
#EB3DE5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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