#1F6BBD#1F6BBD

#1F6BBD is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.7% C 0.147 H 254.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1F6BBD
RGBrgb(31, 107, 189)
HSLhsl(211, 72%, 43%)
HSVhsv(211, 84%, 74%)
CMYKcmyk(83.6%, 43.4%, 0%, 25.9%)
CIE-LABlab(44.91, 7.68, -49.42)
CIE-LCHlch(44.91, 50.01, 278.83°)
OKLaboklab(52.69% -0.0407 -0.1417)
OKLCHoklch(52.69% 0.147 254)
XYZxyz(15.0046, 14.4789, 50.1381)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6BBD #BD711F
analogous
#1FBABD #1F6BBD #221FBD
triadic
#1F6BBD #BD1F6B #6BBD1F
tetradic
#1F6BBD #BD1FBA #BD711F #1FBD22
square
#1F6BBD #BD1FBA #BD711F #1FBD22
split-complementary
#1F6BBD #BD221F #BABD1F
monochromatic
#0E2F54 #164D88 #1F6BBD #3A89DF #6FA9E7

Accessibility & contrast

On white

5.39
#1F6BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1F6BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6BBD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6BBD#FFFFFF#000000##FFFFFF
##1F6BBD1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4172C0
Deuteranopia (green-blind)
#2164BB
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f6bbd;
/* rgb */ color: rgb(31, 107, 189);
/* oklch */ color: oklch(52.7% 0.147 254.0);
Tailwind
colors: {
  custom: {
    50: '#7694d1',
    500: '#1f6bbd',
    950: '#000000',
  },
}
SCSS
$custom: #1f6bbd;
$custom-light: #7694d1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6bbd",
  "rgb": {
    "r": 31,
    "g": 107,
    "b": 189
  },
  "hsl": {
    "h": 211.139,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.14743,
    "h": 254
  },
  "luminance": 0.14481
}

Semantic roles & 50–950 ramp

primary
#1F6BBD
secondary
#CE9E6A
accent
#9739EF
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #1F6BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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