#2318A1#2318A1

#2318A1 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.2% C 0.202 H 272.3°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#2318A1
RGBrgb(35, 24, 161)
HSLhsl(245, 74%, 36%)
HSVhsv(245, 85%, 63%)
CMYKcmyk(78.3%, 85.1%, 0%, 36.9%)
CIE-LABlab(22.24, 49.15, -69.77)
CIE-LCHlch(22.24, 85.34, 305.17°)
OKLaboklab(35.15% 0.0083 -0.2018)
OKLCHoklch(35.15% 0.202 272.3)
XYZxyz(7.4506, 3.5830, 34.0102)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2318A1 #96A118
analogous
#1852A1 #2318A1 #6818A1
triadic
#2318A1 #A12318 #18A123
tetradic
#2318A1 #A11852 #96A118 #18A168
square
#2318A1 #A11852 #96A118 #18A168
split-complementary
#2318A1 #A16818 #52A118
monochromatic
#0C0836 #17106C #2318A1 #2F20D6 #5B4FE5

Accessibility & contrast

On white

12.23
#2318A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2318A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2318A1
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2318A1#FFFFFF#000000##FFFFFF
##2318A11.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002E9F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2318a1;
/* rgb */ color: rgb(35, 24, 161);
/* oklch */ color: oklch(35.2% 0.202 272.3);
Tailwind
colors: {
  custom: {
    50: '#765abe',
    500: '#2318a1',
    950: '#000000',
  },
}
SCSS
$custom: #2318a1;
$custom-light: #765abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2318a1",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 244.818,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35155,
    "c": 0.20197,
    "h": 272.3
  },
  "luminance": 0.03584
}

Semantic roles & 50–950 ramp

primary
#2318A1
secondary
#BDC74E
accent
#F137E2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2318A1

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

Preview Lab → · Contrast checker → · Palette generator →

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