#1F6FBD#1F6FBD

#1F6FBD is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.6% C 0.143 H 252.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1F6FBD
RGBrgb(31, 111, 189)
HSLhsl(210, 72%, 43%)
HSVhsv(210, 84%, 74%)
CMYKcmyk(83.6%, 41.3%, 0%, 25.9%)
CIE-LABlab(46.09, 5.15, -47.54)
CIE-LCHlch(46.09, 47.82, 276.19°)
OKLaboklab(53.6% -0.0439 -0.1361)
OKLCHoklch(53.6% 0.143 252.1)
XYZxyz(15.4313, 15.3324, 50.2804)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6FBD #BD6D1F
analogous
#1FBDBC #1F6FBD #1F20BD
triadic
#1F6FBD #BD1F6F #6FBD1F
tetradic
#1F6FBD #BC1FBD #BD6D1F #20BD1F
square
#1F6FBD #BC1FBD #BD6D1F #20BD1F
split-complementary
#1F6FBD #BD1F20 #BDBC1F
monochromatic
#0E3154 #165088 #1F6FBD #3A8EDF #6FACE7

Accessibility & contrast

On white

5.16
#1F6FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1F6FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6FBD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6FBD#FFFFFF#000000##FFFFFF
##1F6FBD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4875C0
Deuteranopia (green-blind)
#2D67BB
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f6fbd;
/* rgb */ color: rgb(31, 111, 189);
/* oklch */ color: oklch(53.6% 0.143 252.1);
Tailwind
colors: {
  custom: {
    50: '#7697d1',
    500: '#1f6fbd',
    950: '#000000',
  },
}
SCSS
$custom: #1f6fbd;
$custom-light: #7697d1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6fbd",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 189
  },
  "hsl": {
    "h": 209.62,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.143,
    "h": 252.1
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#1F6FBD
secondary
#CE9B6A
accent
#9339EF
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #1F6FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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