#1839B4#1839B4

#1839B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.197 H 265.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#1839B4
RGBrgb(24, 57, 180)
HSLhsl(227, 76%, 40%)
HSVhsv(227, 87%, 71%)
CMYKcmyk(86.7%, 68.3%, 0%, 29.4%)
CIE-LABlab(30.43, 36.48, -67.67)
CIE-LCHlch(30.43, 76.87, 298.33°)
OKLaboklab(41.46% -0.0149 -0.1962)
OKLCHoklch(41.46% 0.197 265.7)
XYZxyz(10.0751, 6.4145, 43.8783)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1839B4 #B49318
analogous
#1887B4 #1839B4 #4518B4
triadic
#1839B4 #B41839 #39B418
tetradic
#1839B4 #B41887 #B49318 #18B445
square
#1839B4 #B41887 #B49318 #18B445
split-complementary
#1839B4 #B44518 #87B418
monochromatic
#0A1748 #11287E #1839B4 #274FE2 #5D7BE9

Accessibility & contrast

On white

9.20
#1839B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1839B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1839B4
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1839B4#FFFFFF#000000##FFFFFF
##1839B41.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1839b4;
/* rgb */ color: rgb(24, 57, 180);
/* oklch */ color: oklch(41.5% 0.197 265.7);
Tailwind
colors: {
  custom: {
    50: '#756fcc',
    500: '#1839b4',
    950: '#000000',
  },
}
SCSS
$custom: #1839b4;
$custom-light: #756fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#1839b4",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 227.308,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.19674,
    "h": 265.7
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#1839B4
secondary
#CDB55B
accent
#CB35F3
background
#F7F6FC
surface
#EEECF9
border
#C9C7D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1839B4

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

Preview Lab → · Contrast checker → · Palette generator →

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