#1F62AA#1F62AA

#1F62AA is a mid, vivid cyan. Relative luminance 0.119; OKLCH L 49.3% C 0.133 H 253.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#1F62AA
RGBrgb(31, 98, 170)
HSLhsl(211, 69%, 39%)
HSVhsv(211, 82%, 67%)
CMYKcmyk(81.8%, 42.4%, 0%, 33.3%)
CIE-LABlab(41.10, 6.00, -44.41)
CIE-LCHlch(41.10, 44.81, 277.69°)
OKLaboklab(49.35% -0.0375 -0.1271)
OKLCHoklch(49.35% 0.133 253.6)
XYZxyz(12.1857, 11.9275, 39.6824)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F62AA #AA671F
analogous
#1FA8AA #1F62AA #221FAA
triadic
#1F62AA #AA1F62 #62AA1F
tetradic
#1F62AA #AA1FA8 #AA671F #1FAA22
square
#1F62AA #AA1FA8 #AA671F #1FAA22
split-complementary
#1F62AA #AA221F #A8AA1F
monochromatic
#0C2642 #164476 #1F62AA #2D80D9 #619FE2

Accessibility & contrast

On white

6.20
#1F62AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#1F62AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F62AA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F62AA#FFFFFF#000000##FFFFFF
##1F62AA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#255BA9
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f62aa;
/* rgb */ color: rgb(31, 98, 170);
/* oklch */ color: oklch(49.3% 0.133 253.6);
Tailwind
colors: {
  custom: {
    50: '#728ec4',
    500: '#1f62aa',
    950: '#000000',
  },
}
SCSS
$custom: #1f62aa;
$custom-light: #728ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f62aa",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 211.079,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49348,
    "c": 0.13256,
    "h": 253.6
  },
  "luminance": 0.11929
}

Semantic roles & 50–950 ramp

primary
#1F62AA
secondary
#C7945E
accent
#973CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F62AA

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

Preview Lab → · Contrast checker → · Palette generator →

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