#231ED5#231ED5

#231ED5 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 42.1% C 0.256 H 268.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#231ED5
RGBrgb(35, 30, 213)
HSLhsl(242, 75%, 48%)
HSVhsv(242, 86%, 84%)
CMYKcmyk(83.6%, 85.9%, 0%, 16.5%)
CIE-LABlab(29.63, 61.99, -88.35)
CIE-LCHlch(29.63, 107.93, 305.06°)
OKLaboklab(42.09% -0.005 -0.2556)
OKLCHoklch(42.09% 0.256 268.9)
XYZxyz(13.1636, 6.0884, 63.4193)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231ED5 #D0D51E
analogous
#1E75D5 #231ED5 #7E1ED5
triadic
#231ED5 #D5231E #1ED523
tetradic
#231ED5 #D51E75 #D0D51E #1ED57E
square
#231ED5 #D51E75 #D0D51E #1ED57E
split-complementary
#231ED5 #D57E1E #75D51E
monochromatic
#110F6A #1A169F #231ED5 #4F4BE6 #8380ED

Accessibility & contrast

On white

9.47
#231ED5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#231ED5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231ED5
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231ED5#FFFFFF#000000##FFFFFF
##231ED51.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FDA
Deuteranopia (green-blind)
#003CD2
Tritanopia (blue-blind)
#005D7F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #231ed5;
/* rgb */ color: rgb(35, 30, 213);
/* oklch */ color: oklch(42.1% 0.256 268.9);
Tailwind
colors: {
  custom: {
    50: '#8362e4',
    500: '#231ed5',
    950: '#000000',
  },
}
SCSS
$custom: #231ed5;
$custom-light: #8362e4;
$custom-dark: #000000;
JSON
{
  "hex": "#231ed5",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 213
  },
  "hsl": {
    "h": 241.639,
    "s": 75.309,
    "l": 47.647
  },
  "oklch": {
    "l": 0.42086,
    "c": 0.25568,
    "h": 268.9
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#231ED5
secondary
#D3D679
accent
#F236ED
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0516
muted
#7E7A84

Preview Lab

Preview with #231ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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