#1837A0#1837A0

#1837A0 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.173 H 265.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#1837A0
RGBrgb(24, 55, 160)
HSLhsl(226, 74%, 36%)
HSVhsv(226, 85%, 63%)
CMYKcmyk(85%, 65.6%, 0%, 37.3%)
CIE-LABlab(28.02, 30.18, -59.63)
CIE-LCHlch(28.02, 66.83, 296.84°)
OKLaboklab(39.11% -0.0132 -0.1728)
OKLCHoklch(39.11% 0.173 265.6)
XYZxyz(8.0858, 5.4636, 33.8793)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1837A0 #A08118
analogous
#187BA0 #1837A0 #3D18A0
triadic
#1837A0 #A01837 #37A018
tetradic
#1837A0 #A0187B #A08118 #18A03D
square
#1837A0 #A0187B #A08118 #18A03D
split-complementary
#1837A0 #A03D18 #7BA018
monochromatic
#081236 #10256B #1837A0 #2049D5 #4E70E4

Accessibility & contrast

On white

10.03
#1837A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1837A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1837A0
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1837A0#FFFFFF#000000##FFFFFF
##1837A01.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1837a0;
/* rgb */ color: rgb(24, 55, 160);
/* oklch */ color: oklch(39.1% 0.173 265.6);
Tailwind
colors: {
  custom: {
    50: '#706dbd',
    500: '#1837a0',
    950: '#000000',
  },
}
SCSS
$custom: #1837a0;
$custom-light: #706dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1837a0",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 226.324,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39107,
    "c": 0.17327,
    "h": 265.6
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#1837A0
secondary
#C6AB4D
accent
#C637F1
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1837A0

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

Preview Lab → · Contrast checker → · Palette generator →

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