#1F6CBD#1F6CBD

#1F6CBD is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.146 H 253.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#1F6CBD
RGBrgb(31, 108, 189)
HSLhsl(211, 72%, 43%)
HSVhsv(211, 84%, 74%)
CMYKcmyk(83.6%, 42.9%, 0%, 25.9%)
CIE-LABlab(45.20, 7.04, -48.95)
CIE-LCHlch(45.20, 49.46, 278.19°)
OKLaboklab(52.91% -0.0415 -0.1403)
OKLCHoklch(52.91% 0.146 253.5)
XYZxyz(15.1095, 14.6887, 50.1731)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6CBD #BD701F
analogous
#1FBBBD #1F6CBD #211FBD
triadic
#1F6CBD #BD1F6C #6CBD1F
tetradic
#1F6CBD #BD1FBB #BD701F #1FBD21
square
#1F6CBD #BD1FBB #BD701F #1FBD21
split-complementary
#1F6CBD #BD211F #BBBD1F
monochromatic
#0E3054 #164E88 #1F6CBD #3A8BDF #6FAAE7

Accessibility & contrast

On white

5.33
#1F6CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1F6CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6CBD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6CBD#FFFFFF#000000##FFFFFF
##1F6CBD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#2565BB
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f6cbd;
/* rgb */ color: rgb(31, 108, 189);
/* oklch */ color: oklch(52.9% 0.146 253.5);
Tailwind
colors: {
  custom: {
    50: '#7695d1',
    500: '#1f6cbd',
    950: '#000000',
  },
}
SCSS
$custom: #1f6cbd;
$custom-light: #7695d1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6cbd",
  "rgb": {
    "r": 31,
    "g": 108,
    "b": 189
  },
  "hsl": {
    "h": 210.759,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52913,
    "c": 0.14631,
    "h": 253.5
  },
  "luminance": 0.14691
}

Semantic roles & 50–950 ramp

primary
#1F6CBD
secondary
#CE9D6A
accent
#9639EF
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #1F6CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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