#1F62A8#1F62A8

#1F62A8 is a mid, vivid cyan. Relative luminance 0.119; OKLCH L 49.2% C 0.130 H 253.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#1F62A8
RGBrgb(31, 98, 168)
HSLhsl(211, 69%, 39%)
HSVhsv(211, 82%, 66%)
CMYKcmyk(81.5%, 41.7%, 0%, 34.1%)
CIE-LABlab(40.98, 5.21, -43.42)
CIE-LCHlch(40.98, 43.73, 276.85°)
OKLaboklab(49.22% -0.038 -0.1242)
OKLCHoklch(49.22% 0.13 253)
XYZxyz(11.9980, 11.8524, 38.6936)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F62A8 #A8651F
analogous
#1FA7A8 #1F62A8 #211FA8
triadic
#1F62A8 #A81F62 #62A81F
tetradic
#1F62A8 #A81FA7 #A8651F #1FA821
square
#1F62A8 #A81FA7 #A8651F #1FA821
split-complementary
#1F62A8 #A8211F #A7A81F
monochromatic
#0C2641 #154474 #1F62A8 #2C80D8 #609FE2

Accessibility & contrast

On white

6.23
#1F62A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#1F62A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F62A8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F62A8#FFFFFF#000000##FFFFFF
##1F62A81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AB
Deuteranopia (green-blind)
#285BA7
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f62a8;
/* rgb */ color: rgb(31, 98, 168);
/* oklch */ color: oklch(49.2% 0.130 253.0);
Tailwind
colors: {
  custom: {
    50: '#718ec2',
    500: '#1f62a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f62a8;
$custom-light: #718ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f62a8",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 168
  },
  "hsl": {
    "h": 210.657,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49215,
    "c": 0.12992,
    "h": 253
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#1F62A8
secondary
#C6935D
accent
#963CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F62A8

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

Preview Lab → · Contrast checker → · Palette generator →

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