#2318A0#2318A0

#2318A0 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 35.0% C 0.201 H 272.4°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#2318A0
RGBrgb(35, 24, 160)
HSLhsl(245, 74%, 36%)
HSVhsv(245, 85%, 63%)
CMYKcmyk(78.1%, 85%, 0%, 37.3%)
CIE-LABlab(22.12, 48.85, -69.36)
CIE-LCHlch(22.12, 84.84, 305.15°)
OKLaboklab(35.03% 0.0085 -0.2006)
OKLCHoklch(35.03% 0.201 272.4)
XYZxyz(7.3628, 3.5479, 33.5477)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2318A0 #95A018
analogous
#1851A0 #2318A0 #6718A0
triadic
#2318A0 #A02318 #18A023
tetradic
#2318A0 #A01851 #95A018 #18A067
square
#2318A0 #A01851 #95A018 #18A067
split-complementary
#2318A0 #A06718 #51A018
monochromatic
#0C0836 #17106B #2318A0 #2F20D5 #5A4EE4

Accessibility & contrast

On white

12.28
#2318A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2318A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2318A0
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2318A0#FFFFFF#000000##FFFFFF
##2318A01.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2318a0;
/* rgb */ color: rgb(35, 24, 160);
/* oklch */ color: oklch(35.0% 0.201 272.4);
Tailwind
colors: {
  custom: {
    50: '#765abe',
    500: '#2318a0',
    950: '#000000',
  },
}
SCSS
$custom: #2318a0;
$custom-light: #765abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2318a0",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 244.853,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35033,
    "c": 0.20082,
    "h": 272.4
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#2318A0
secondary
#BDC64D
accent
#F137E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2318A0

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

Preview Lab → · Contrast checker → · Palette generator →

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