#1F62B3#1F62B3

#1F62B3 is a mid, vivid cyan. Relative luminance 0.123; OKLCH L 50.0% C 0.145 H 255.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#1F62B3
RGBrgb(31, 98, 179)
HSLhsl(213, 70%, 41%)
HSVhsv(213, 83%, 70%)
CMYKcmyk(82.7%, 45.3%, 0%, 29.8%)
CIE-LABlab(41.66, 9.53, -48.81)
CIE-LCHlch(41.66, 49.73, 281.05°)
OKLaboklab(49.96% -0.0356 -0.1401)
OKLCHoklch(49.96% 0.145 255.7)
XYZxyz(13.0664, 12.2797, 44.3206)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F62B3 #B3701F
analogous
#1FACB3 #1F62B3 #261FB3
triadic
#1F62B3 #B31F62 #62B31F
tetradic
#1F62B3 #B31FAC #B3701F #1FB326
square
#1F62B3 #B31FAC #B3701F #1FB326
split-complementary
#1F62B3 #B3261F #ACB31F
monochromatic
#0D294B #16457F #1F62B3 #3380DC #68A0E5

Accessibility & contrast

On white

6.08
#1F62B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#1F62B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F62B3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F62B3#FFFFFF#000000##FFFFFF
##1F62B31.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f62b3;
/* rgb */ color: rgb(31, 98, 179);
/* oklch */ color: oklch(50.0% 0.145 255.7);
Tailwind
colors: {
  custom: {
    50: '#748eca',
    500: '#1f62b3',
    950: '#000000',
  },
}
SCSS
$custom: #1f62b3;
$custom-light: #748eca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f62b3",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 212.838,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.14455,
    "h": 255.7
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

primary
#1F62B3
secondary
#CA9C64
accent
#9C3BED
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #1F62B3

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

Preview Lab → · Contrast checker → · Palette generator →

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