#231EA7#231EA7

#231EA7 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.5% C 0.204 H 271.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#231EA7
RGBrgb(35, 30, 167)
HSLhsl(242, 70%, 39%)
HSVhsv(242, 82%, 65%)
CMYKcmyk(79%, 82%, 0%, 34.5%)
CIE-LABlab(23.92, 48.24, -70.63)
CIE-LCHlch(23.92, 85.53, 304.34°)
OKLaboklab(36.53% 0.0053 -0.2044)
OKLCHoklch(36.53% 0.204 271.5)
XYZxyz(8.1301, 4.0750, 36.9098)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231EA7 #A2A71E
analogous
#1E5DA7 #231EA7 #671EA7
triadic
#231EA7 #A7231E #1EA723
tetradic
#231EA7 #A71E5D #A2A71E #1EA767
square
#231EA7 #A71E5D #A2A71E #1EA767
split-complementary
#231EA7 #A7671E #5DA71E
monochromatic
#0D0B3F #181573 #231EA7 #302AD9 #625DE2

Accessibility & contrast

On white

11.57
#231EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231EA7
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231EA7#FFFFFF#000000##FFFFFF
##231EA71.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAB
Deuteranopia (green-blind)
#0032A5
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #231ea7;
/* rgb */ color: rgb(35, 30, 167);
/* oklch */ color: oklch(36.5% 0.204 271.5);
Tailwind
colors: {
  custom: {
    50: '#775ec3',
    500: '#231ea7',
    950: '#000000',
  },
}
SCSS
$custom: #231ea7;
$custom-light: #775ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#231ea7",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 242.19,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36525,
    "c": 0.20448,
    "h": 271.5
  },
  "luminance": 0.04076
}

Semantic roles & 50–950 ramp

primary
#231EA7
secondary
#C2C65B
accent
#EC3BE6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #231EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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