#1F5DAD#1F5DAD

#1F5DAD is a mid, vivid cyan. Relative luminance 0.111; OKLCH L 48.4% C 0.142 H 256.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#1F5DAD
RGBrgb(31, 93, 173)
HSLhsl(214, 70%, 40%)
HSVhsv(214, 82%, 68%)
CMYKcmyk(82.1%, 46.2%, 0%, 32.2%)
CIE-LABlab(39.81, 10.42, -48.25)
CIE-LCHlch(39.81, 49.36, 282.18°)
OKLaboklab(48.41% -0.0328 -0.1385)
OKLCHoklch(48.41% 0.142 256.7)
XYZxyz(12.0195, 11.1357, 41.0430)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5DAD #AD6F1F
analogous
#1FA4AD #1F5DAD #281FAD
triadic
#1F5DAD #AD1F5D #5DAD1F
tetradic
#1F5DAD #AD1FA4 #AD6F1F #1FAD28
square
#1F5DAD #AD1FA4 #AD6F1F #1FAD28
split-complementary
#1F5DAD #AD281F #A4AD1F
monochromatic
#0C2545 #164179 #1F5DAD #2F7ADA #639BE3

Accessibility & contrast

On white

6.51
#1F5DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#1F5DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5DAD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5DAD#FFFFFF#000000##FFFFFF
##1F5DAD1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3265B0
Deuteranopia (green-blind)
#0D58AB
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f5dad;
/* rgb */ color: rgb(31, 93, 173);
/* oklch */ color: oklch(48.4% 0.142 256.7);
Tailwind
colors: {
  custom: {
    50: '#738ac6',
    500: '#1f5dad',
    950: '#000000',
  },
}
SCSS
$custom: #1f5dad;
$custom-light: #738ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5dad",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 173
  },
  "hsl": {
    "h": 213.803,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.48405,
    "c": 0.14238,
    "h": 256.7
  },
  "luminance": 0.11137
}

Semantic roles & 50–950 ramp

primary
#1F5DAD
secondary
#C89B60
accent
#9F3BEC
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1F5DAD

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

Preview Lab → · Contrast checker → · Palette generator →

#1F5DAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva