#1839A0#1839A0

#1839A0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.171 H 265.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#1839A0
RGBrgb(24, 57, 160)
HSLhsl(225, 74%, 36%)
HSVhsv(225, 85%, 63%)
CMYKcmyk(85%, 64.4%, 0%, 37.3%)
CIE-LABlab(28.53, 28.83, -58.79)
CIE-LCHlch(28.53, 65.48, 296.12°)
OKLaboklab(39.49% -0.0142 -0.1703)
OKLCHoklch(39.49% 0.171 265.2)
XYZxyz(8.1827, 5.6575, 33.9116)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1839A0 #A07F18
analogous
#187DA0 #1839A0 #3B18A0
triadic
#1839A0 #A01839 #39A018
tetradic
#1839A0 #A0187D #A07F18 #18A03B
square
#1839A0 #A0187D #A07F18 #18A03B
split-complementary
#1839A0 #A03B18 #7DA018
monochromatic
#081336 #10266B #1839A0 #204CD5 #4E72E4

Accessibility & contrast

On white

9.85
#1839A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1839A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1839A0
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1839A0#FFFFFF#000000##FFFFFF
##1839A01.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1839a0;
/* rgb */ color: rgb(24, 57, 160);
/* oklch */ color: oklch(39.5% 0.171 265.2);
Tailwind
colors: {
  custom: {
    50: '#706fbd',
    500: '#1839a0',
    950: '#000000',
  },
}
SCSS
$custom: #1839a0;
$custom-light: #706fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1839a0",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 160
  },
  "hsl": {
    "h": 225.441,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39487,
    "c": 0.17086,
    "h": 265.2
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1839A0

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

Preview Lab → · Contrast checker → · Palette generator →

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