#1862B4#1862B4

#1862B4 is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.9% C 0.147 H 254.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#1862B4
RGBrgb(24, 98, 180)
HSLhsl(212, 76%, 40%)
HSVhsv(212, 87%, 71%)
CMYKcmyk(86.7%, 45.6%, 0%, 29.4%)
CIE-LABlab(41.57, 9.34, -49.55)
CIE-LCHlch(41.57, 50.42, 280.67°)
OKLaboklab(49.87% -0.0386 -0.1423)
OKLCHoklch(49.87% 0.147 254.8)
XYZxyz(12.9795, 12.2232, 44.8464)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1862B4 #B46A18
analogous
#18B0B4 #1862B4 #1C18B4
triadic
#1862B4 #B41862 #62B418
tetradic
#1862B4 #B418B0 #B46A18 #18B41C
square
#1862B4 #B418B0 #B46A18 #18B41C
split-complementary
#1862B4 #B41C18 #B0B418
monochromatic
#0A2748 #11457E #1862B4 #2780E2 #5DA0E9

Accessibility & contrast

On white

6.10
#1862B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#1862B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1862B4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1862B4#FFFFFF#000000##FFFFFF
##1862B41.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B7
Deuteranopia (green-blind)
#0E5CB2
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1862b4;
/* rgb */ color: rgb(24, 98, 180);
/* oklch */ color: oklch(49.9% 0.147 254.8);
Tailwind
colors: {
  custom: {
    50: '#738ecb',
    500: '#1862b4',
    950: '#000000',
  },
}
SCSS
$custom: #1862b4;
$custom-light: #738ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#1862b4",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 180
  },
  "hsl": {
    "h": 211.538,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.49868,
    "c": 0.14746,
    "h": 254.8
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

primary
#1862B4
secondary
#CD975B
accent
#9935F3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #1862B4

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

Preview Lab → · Contrast checker → · Palette generator →

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