#1918A0#1918A0

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

Color values

HEX#1918A0
RGBrgb(25, 24, 160)
HSLhsl(240, 74%, 36%)
HSVhsv(240, 85%, 63%)
CMYKcmyk(84.4%, 85%, 0%, 37.3%)
CIE-LABlab(21.57, 48.35, -70.29)
CIE-LCHlch(21.57, 85.31, 304.52°)
OKLaboklab(34.51% -0.003 -0.2035)
OKLCHoklch(34.51% 0.203 269.1)
XYZxyz(7.0705, 3.3972, 33.5340)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1918A0 #9FA018
analogous
#185BA0 #1918A0 #5D18A0
triadic
#1918A0 #A01918 #18A019
tetradic
#1918A0 #A0185B #9FA018 #18A05D
square
#1918A0 #A0185B #9FA018 #18A05D
split-complementary
#1918A0 #A05D18 #5BA018
monochromatic
#080836 #11106B #1918A0 #2120D5 #4F4EE4

Accessibility & contrast

On white

12.50
#1918A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1918A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1918A0
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1918A0#FFFFFF#000000##FFFFFF
##1918A01.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1918a0;
/* rgb */ color: rgb(25, 24, 160);
/* oklch */ color: oklch(34.5% 0.203 269.1);
Tailwind
colors: {
  custom: {
    50: '#735abe',
    500: '#1918a0',
    950: '#000000',
  },
}
SCSS
$custom: #1918a0;
$custom-light: #735abe;
$custom-dark: #000000;
JSON
{
  "hex": "#1918a0",
  "rgb": {
    "r": 25,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 240.441,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34507,
    "c": 0.20349,
    "h": 269.1
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#1918A0
secondary
#C6C64D
accent
#F137EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1918A0

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

Preview Lab → · Contrast checker → · Palette generator →

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