#1839A1#1839A1

#1839A1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.172 H 265.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#1839A1
RGBrgb(24, 57, 161)
HSLhsl(226, 74%, 36%)
HSVhsv(226, 85%, 63%)
CMYKcmyk(85.1%, 64.6%, 0%, 36.9%)
CIE-LABlab(28.62, 29.22, -59.25)
CIE-LCHlch(28.62, 66.06, 296.26°)
OKLaboklab(39.58% -0.0142 -0.1716)
OKLCHoklch(39.58% 0.172 265.3)
XYZxyz(8.2706, 5.6926, 34.3742)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1839A1 #A18018
analogous
#187EA1 #1839A1 #3B18A1
triadic
#1839A1 #A11839 #39A118
tetradic
#1839A1 #A1187E #A18018 #18A13B
square
#1839A1 #A1187E #A18018 #18A13B
split-complementary
#1839A1 #A13B18 #7EA118
monochromatic
#081336 #10266C #1839A1 #204CD6 #4F73E5

Accessibility & contrast

On white

9.82
#1839A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1839A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1839A1
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1839A1#FFFFFF#000000##FFFFFF
##1839A11.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1839a1;
/* rgb */ color: rgb(24, 57, 161);
/* oklch */ color: oklch(39.6% 0.172 265.3);
Tailwind
colors: {
  custom: {
    50: '#706fbe',
    500: '#1839a1',
    950: '#000000',
  },
}
SCSS
$custom: #1839a1;
$custom-light: #706fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1839a1",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 161
  },
  "hsl": {
    "h": 225.547,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39583,
    "c": 0.17219,
    "h": 265.3
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#1839A1
secondary
#C7AA4E
accent
#C437F1
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1839A1

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

Preview Lab → · Contrast checker → · Palette generator →

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