#1F6DA1#1F6DA1

#1F6DA1 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.4% C 0.110 H 243.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#1F6DA1
RGBrgb(31, 109, 161)
HSLhsl(204, 68%, 38%)
HSVhsv(204, 81%, 63%)
CMYKcmyk(80.7%, 32.3%, 0%, 36.9%)
CIE-LABlab(43.95, -4.36, -34.58)
CIE-LCHlch(43.95, 34.85, 262.82°)
OKLaboklab(51.42% -0.0498 -0.0981)
OKLCHoklch(51.42% 0.11 243.1)
XYZxyz(12.4642, 13.8003, 35.7181)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6DA1 #A1531F
analogous
#1FA194 #1F6DA1 #1F2CA1
triadic
#1F6DA1 #A11F6D #6DA11F
tetradic
#1F6DA1 #941FA1 #A1531F #2CA11F
square
#1F6DA1 #941FA1 #A1531F #2CA11F
split-complementary
#1F6DA1 #A11F2C #A1941F
monochromatic
#0B283A #154A6E #1F6DA1 #2990D4 #5BAADF

Accessibility & contrast

On white

5.58
#1F6DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#1F6DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6DA1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6DA1#FFFFFF#000000##FFFFFF
##1F6DA11.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556EA3
Deuteranopia (green-blind)
#4363A0
Tritanopia (blue-blind)
#007A80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f6da1;
/* rgb */ color: rgb(31, 109, 161);
/* oklch */ color: oklch(51.4% 0.110 243.1);
Tailwind
colors: {
  custom: {
    50: '#7096bd',
    500: '#1f6da1',
    950: '#000000',
  },
}
SCSS
$custom: #1f6da1;
$custom-light: #7096bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6da1",
  "rgb": {
    "r": 31,
    "g": 109,
    "b": 161
  },
  "hsl": {
    "h": 204,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51417,
    "c": 0.11005,
    "h": 243.1
  },
  "luminance": 0.13802
}

Semantic roles & 50–950 ramp

primary
#1F6DA1
secondary
#C48358
accent
#833DEB
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F6DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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