#2318AB#2318AB

#2318AB is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.4% C 0.213 H 271.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2318AB
RGBrgb(35, 24, 171)
HSLhsl(244, 75%, 38%)
HSVhsv(244, 86%, 67%)
CMYKcmyk(79.5%, 86%, 0%, 32.9%)
CIE-LABlab(23.51, 52.15, -73.73)
CIE-LCHlch(23.51, 90.31, 305.27°)
OKLaboklab(36.38% 0.0056 -0.2133)
OKLCHoklch(36.38% 0.213 271.5)
XYZxyz(8.3680, 3.9499, 38.8416)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2318AB #A0AB18
analogous
#1856AB #2318AB #6C18AB
triadic
#2318AB #AB2318 #18AB23
tetradic
#2318AB #AB1856 #A0AB18 #18AB6C
square
#2318AB #AB1856 #A0AB18 #18AB6C
split-complementary
#2318AB #AB6C18 #56AB18
monochromatic
#0D0940 #181075 #2318AB #2F20E0 #6156E7

Accessibility & contrast

On white

11.73
#2318AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2318AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2318AB
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2318AB#FFFFFF#000000##FFFFFF
##2318AB1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAF
Deuteranopia (green-blind)
#0031A9
Tritanopia (blue-blind)
#004965
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2318ab;
/* rgb */ color: rgb(35, 24, 171);
/* oklch */ color: oklch(36.4% 0.213 271.5);
Tailwind
colors: {
  custom: {
    50: '#795bc6',
    500: '#2318ab',
    950: '#000000',
  },
}
SCSS
$custom: #2318ab;
$custom-light: #795bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2318ab",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 171
  },
  "hsl": {
    "h": 244.49,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36382,
    "c": 0.21334,
    "h": 271.5
  },
  "luminance": 0.03951
}

Semantic roles & 50–950 ramp

primary
#2318AB
secondary
#C1CA55
accent
#F236E4
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2318AB

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

Preview Lab → · Contrast checker → · Palette generator →

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