#1F6EA1#1F6EA1

#1F6EA1 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.7% C 0.109 H 242.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#1F6EA1
RGBrgb(31, 110, 161)
HSLhsl(204, 68%, 38%)
HSVhsv(204, 81%, 63%)
CMYKcmyk(80.7%, 31.7%, 0%, 36.9%)
CIE-LABlab(44.25, -4.96, -34.09)
CIE-LCHlch(44.25, 34.45, 261.72°)
OKLaboklab(51.66% -0.0507 -0.0967)
OKLCHoklch(51.66% 0.109 242.3)
XYZxyz(12.5715, 14.0148, 35.7539)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6EA1 #A1521F
analogous
#1FA193 #1F6EA1 #1F2DA1
triadic
#1F6EA1 #A11F6E #6EA11F
tetradic
#1F6EA1 #931FA1 #A1521F #2DA11F
square
#1F6EA1 #931FA1 #A1521F #2DA11F
split-complementary
#1F6EA1 #A11F2D #A1931F
monochromatic
#0B283A #154B6E #1F6EA1 #2991D4 #5BABDF

Accessibility & contrast

On white

5.52
#1F6EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#1F6EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6EA1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6EA1#FFFFFF#000000##FFFFFF
##1F6EA11.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566FA3
Deuteranopia (green-blind)
#4463A0
Tritanopia (blue-blind)
#007B80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f6ea1;
/* rgb */ color: rgb(31, 110, 161);
/* oklch */ color: oklch(51.7% 0.109 242.3);
Tailwind
colors: {
  custom: {
    50: '#7097bd',
    500: '#1f6ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1f6ea1;
$custom-light: #7097bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6ea1",
  "rgb": {
    "r": 31,
    "g": 110,
    "b": 161
  },
  "hsl": {
    "h": 203.538,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51662,
    "c": 0.1092,
    "h": 242.3
  },
  "luminance": 0.14016
}

Semantic roles & 50–950 ramp

primary
#1F6EA1
secondary
#C48258
accent
#813DEB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F6EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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