#1F63B3#1F63B3

#1F63B3 is a mid, vivid cyan. Relative luminance 0.125; OKLCH L 50.2% C 0.143 H 255.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#1F63B3
RGBrgb(31, 99, 179)
HSLhsl(212, 70%, 41%)
HSVhsv(212, 83%, 70%)
CMYKcmyk(82.7%, 44.7%, 0%, 29.8%)
CIE-LABlab(41.95, 8.89, -48.34)
CIE-LCHlch(41.95, 49.15, 280.41°)
OKLaboklab(50.19% -0.0364 -0.1387)
OKLCHoklch(50.19% 0.143 255.3)
XYZxyz(13.1606, 12.4680, 44.3520)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F63B3 #B36F1F
analogous
#1FADB3 #1F63B3 #251FB3
triadic
#1F63B3 #B31F63 #63B31F
tetradic
#1F63B3 #B31FAD #B36F1F #1FB325
square
#1F63B3 #B31FAD #B36F1F #1FB325
split-complementary
#1F63B3 #B3251F #ADB31F
monochromatic
#0D294B #16467F #1F63B3 #3381DC #68A1E5

Accessibility & contrast

On white

6.01
#1F63B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#1F63B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F63B3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F63B3#FFFFFF#000000##FFFFFF
##1F63B31.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#195DB1
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1f63b3;
/* rgb */ color: rgb(31, 99, 179);
/* oklch */ color: oklch(50.2% 0.143 255.3);
Tailwind
colors: {
  custom: {
    50: '#748eca',
    500: '#1f63b3',
    950: '#000000',
  },
}
SCSS
$custom: #1f63b3;
$custom-light: #748eca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f63b3",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 179
  },
  "hsl": {
    "h": 212.432,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50187,
    "c": 0.14339,
    "h": 255.3
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#1F63B3
secondary
#CA9B64
accent
#9B3BED
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #1F63B3

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

Preview Lab → · Contrast checker → · Palette generator →

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