#1862B3#1862B3

#1862B3 is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.8% C 0.146 H 254.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#1862B3
RGBrgb(24, 98, 179)
HSLhsl(211, 76%, 40%)
HSVhsv(211, 87%, 70%)
CMYKcmyk(86.6%, 45.3%, 0%, 29.8%)
CIE-LABlab(41.50, 8.94, -49.07)
CIE-LCHlch(41.50, 49.87, 280.33°)
OKLaboklab(49.8% -0.0388 -0.1409)
OKLCHoklch(49.8% 0.146 254.6)
XYZxyz(12.8780, 12.1826, 44.3118)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1862B3 #B36918
analogous
#18B0B3 #1862B3 #1C18B3
triadic
#1862B3 #B31862 #62B318
tetradic
#1862B3 #B318B0 #B36918 #18B31C
square
#1862B3 #B318B0 #B36918 #18B31C
split-complementary
#1862B3 #B31C18 #B0B318
monochromatic
#0A2747 #11447D #1862B3 #2680E2 #5CA0E9

Accessibility & contrast

On white

6.11
#1862B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#1862B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1862B3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1862B3#FFFFFF#000000##FFFFFF
##1862B31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B6
Deuteranopia (green-blind)
#115CB1
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1862b3;
/* rgb */ color: rgb(24, 98, 179);
/* oklch */ color: oklch(49.8% 0.146 254.6);
Tailwind
colors: {
  custom: {
    50: '#728eca',
    500: '#1862b3',
    950: '#000000',
  },
}
SCSS
$custom: #1862b3;
$custom-light: #728eca;
$custom-dark: #000000;
JSON
{
  "hex": "#1862b3",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 211.355,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49798,
    "c": 0.14614,
    "h": 254.6
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#1862B3
secondary
#CD965A
accent
#9835F3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C13
muted
#7B7D82

Preview Lab

Preview with #1862B3

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

Preview Lab → · Contrast checker → · Palette generator →

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