#1836A1#1836A1

#1836A1 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.176 H 265.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#1836A1
RGBrgb(24, 54, 161)
HSLhsl(227, 74%, 36%)
HSVhsv(227, 85%, 63%)
CMYKcmyk(85.1%, 66.5%, 0%, 36.9%)
CIE-LABlab(27.86, 31.23, -60.50)
CIE-LCHlch(27.86, 68.09, 297.30°)
OKLaboklab(39.02% -0.0128 -0.1753)
OKLCHoklch(39.02% 0.176 265.8)
XYZxyz(8.1266, 5.4047, 34.3262)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1836A1 #A18318
analogous
#187BA1 #1836A1 #3F18A1
triadic
#1836A1 #A11836 #36A118
tetradic
#1836A1 #A1187B #A18318 #18A13F
square
#1836A1 #A1187B #A18318 #18A13F
split-complementary
#1836A1 #A13F18 #7BA118
monochromatic
#081236 #10246C #1836A1 #2048D6 #4F70E5

Accessibility & contrast

On white

10.09
#1836A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1836A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1836A1
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1836A1#FFFFFF#000000##FFFFFF
##1836A11.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1836a1;
/* rgb */ color: rgb(24, 54, 161);
/* oklch */ color: oklch(39.0% 0.176 265.8);
Tailwind
colors: {
  custom: {
    50: '#706dbe',
    500: '#1836a1',
    950: '#000000',
  },
}
SCSS
$custom: #1836a1;
$custom-light: #706dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1836a1",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 161
  },
  "hsl": {
    "h": 226.861,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39019,
    "c": 0.17577,
    "h": 265.8
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#1836A1
secondary
#C7AC4E
accent
#C837F1
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1836A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1836A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva