#1F6CB3#1F6CB3

#1F6CB3 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.3% C 0.133 H 250.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#1F6CB3
RGBrgb(31, 108, 179)
HSLhsl(209, 70%, 41%)
HSVhsv(209, 83%, 70%)
CMYKcmyk(82.7%, 39.7%, 0%, 29.8%)
CIE-LABlab(44.62, 3.16, -44.08)
CIE-LCHlch(44.62, 44.19, 274.10°)
OKLaboklab(52.26% -0.0438 -0.126)
OKLCHoklch(52.26% 0.133 250.8)
XYZxyz(14.0612, 14.2694, 44.6522)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6CB3 #B3661F
analogous
#1FB3B0 #1F6CB3 #1F22B3
triadic
#1F6CB3 #B31F6C #6CB31F
tetradic
#1F6CB3 #B01FB3 #B3661F #22B31F
square
#1F6CB3 #B01FB3 #B3661F #22B31F
split-complementary
#1F6CB3 #B31F22 #B3B01F
monochromatic
#0D2D4B #164D7F #1F6CB3 #338BDC #68A9E5

Accessibility & contrast

On white

5.45
#1F6CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#1F6CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6CB3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6CB3#FFFFFF#000000##FFFFFF
##1F6CB31.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B6
Deuteranopia (green-blind)
#3263B2
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f6cb3;
/* rgb */ color: rgb(31, 108, 179);
/* oklch */ color: oklch(52.3% 0.133 250.8);
Tailwind
colors: {
  custom: {
    50: '#7495ca',
    500: '#1f6cb3',
    950: '#000000',
  },
}
SCSS
$custom: #1f6cb3;
$custom-light: #7495ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6cb3",
  "rgb": {
    "r": 31,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 208.784,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52264,
    "c": 0.13338,
    "h": 250.8
  },
  "luminance": 0.14271
}

Semantic roles & 50–950 ramp

primary
#1F6CB3
secondary
#CA9564
accent
#903BED
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #1F6CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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