#2315A0#2315A0

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

Color values

HEX#2315A0
RGBrgb(35, 21, 160)
HSLhsl(246, 77%, 35%)
HSVhsv(246, 87%, 63%)
CMYKcmyk(78.1%, 86.9%, 0%, 37.3%)
CIE-LABlab(21.69, 50.11, -70.07)
CIE-LCHlch(21.69, 86.14, 305.57°)
OKLaboklab(34.74% 0.0092 -0.2026)
OKLCHoklch(34.74% 0.203 272.6)
XYZxyz(7.3043, 3.4309, 33.5282)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2315A0 #92A015
analogous
#154CA0 #2315A0 #6815A0
triadic
#2315A0 #A02315 #15A023
tetradic
#2315A0 #A0154C #92A015 #15A068
square
#2315A0 #A0154C #92A015 #15A068
split-complementary
#2315A0 #A06815 #4CA015
monochromatic
#0B0734 #170E6A #2315A0 #2F1CD6 #5848E7

Accessibility & contrast

On white

12.45
#2315A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2315A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2315A0
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2315A0#FFFFFF#000000##FFFFFF
##2315A01.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2315a0;
/* rgb */ color: rgb(35, 21, 160);
/* oklch */ color: oklch(34.7% 0.203 272.6);
Tailwind
colors: {
  custom: {
    50: '#7659be',
    500: '#2315a0',
    950: '#000000',
  },
}
SCSS
$custom: #2315a0;
$custom-light: #7659be;
$custom-dark: #000000;
JSON
{
  "hex": "#2315a0",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 246.043,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34743,
    "c": 0.20282,
    "h": 272.6
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#2315A0
secondary
#BBC849
accent
#F334E0
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2315A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2315A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva