#2313A1#2313A1

#2313A1 is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.7% C 0.205 H 272.6°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#2313A1
RGBrgb(35, 19, 161)
HSLhsl(247, 79%, 35%)
HSVhsv(247, 88%, 63%)
CMYKcmyk(78.3%, 88.2%, 0%, 36.9%)
CIE-LABlab(21.56, 51.18, -70.89)
CIE-LCHlch(21.56, 87.44, 305.82°)
OKLaboklab(34.69% 0.0093 -0.205)
OKLCHoklch(34.69% 0.205 272.6)
XYZxyz(7.3569, 3.3955, 33.9790)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2313A1 #91A113
analogous
#134AA1 #2313A1 #6A13A1
triadic
#2313A1 #A12313 #13A123
tetradic
#2313A1 #A1134A #91A113 #13A16A
square
#2313A1 #A1134A #91A113 #13A16A
split-complementary
#2313A1 #A16A13 #4AA113
monochromatic
#0B0634 #170D6A #2313A1 #2F19D8 #5845E9

Accessibility & contrast

On white

12.51
#2313A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2313A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2313A1
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2313A1#FFFFFF#000000##FFFFFF
##2313A11.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA5
Deuteranopia (green-blind)
#002D9F
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2313a1;
/* rgb */ color: rgb(35, 19, 161);
/* oklch */ color: oklch(34.7% 0.205 272.6);
Tailwind
colors: {
  custom: {
    50: '#7658be',
    500: '#2313a1',
    950: '#000000',
  },
}
SCSS
$custom: #2313a1;
$custom-light: #7658be;
$custom-dark: #000000;
JSON
{
  "hex": "#2313a1",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 161
  },
  "hsl": {
    "h": 246.761,
    "s": 78.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3469,
    "c": 0.20517,
    "h": 272.6
  },
  "luminance": 0.03396
}

Semantic roles & 50–950 ramp

primary
#2313A1
secondary
#BBCA46
accent
#F532DF
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2313A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2313A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva