#1842A0#1842A0

#1842A0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.160 H 263.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#1842A0
RGBrgb(24, 66, 160)
HSLhsl(221, 74%, 36%)
HSVhsv(221, 85%, 63%)
CMYKcmyk(85%, 58.8%, 0%, 37.3%)
CIE-LABlab(30.94, 22.71, -54.85)
CIE-LCHlch(30.94, 59.36, 292.50°)
OKLaboklab(41.29% -0.0192 -0.1586)
OKLCHoklch(41.29% 0.16 263.1)
XYZxyz(8.6678, 6.6276, 34.0733)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1842A0 #A07618
analogous
#1886A0 #1842A0 #3218A0
triadic
#1842A0 #A01842 #42A018
tetradic
#1842A0 #A01886 #A07618 #18A032
square
#1842A0 #A01886 #A07618 #18A032
split-complementary
#1842A0 #A03218 #86A018
monochromatic
#081636 #102C6B #1842A0 #2058D5 #4E7CE4

Accessibility & contrast

On white

9.03
#1842A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1842A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1842A0
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1842A0#FFFFFF#000000##FFFFFF
##1842A01.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1842a0;
/* rgb */ color: rgb(24, 66, 160);
/* oklch */ color: oklch(41.3% 0.160 263.1);
Tailwind
colors: {
  custom: {
    50: '#6f75bd',
    500: '#1842a0',
    950: '#000000',
  },
}
SCSS
$custom: #1842a0;
$custom-light: #6f75bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1842a0",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 160
  },
  "hsl": {
    "h": 221.471,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41286,
    "c": 0.15974,
    "h": 263.1
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#1842A0
secondary
#C6A14D
accent
#B737F1
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1842A0

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

Preview Lab → · Contrast checker → · Palette generator →

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