#1F6FA1#1F6FA1

#1F6FA1 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.9% C 0.108 H 241.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1F6FA1
RGBrgb(31, 111, 161)
HSLhsl(203, 68%, 38%)
HSVhsv(203, 81%, 63%)
CMYKcmyk(80.7%, 31.1%, 0%, 36.9%)
CIE-LABlab(44.56, -5.57, -33.61)
CIE-LCHlch(44.56, 34.06, 260.60°)
OKLaboklab(51.91% -0.0516 -0.0953)
OKLCHoklch(51.91% 0.108 241.5)
XYZxyz(12.6800, 14.2318, 35.7900)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6FA1 #A1511F
analogous
#1FA192 #1F6FA1 #1F2EA1
triadic
#1F6FA1 #A11F6F #6FA11F
tetradic
#1F6FA1 #921FA1 #A1511F #2EA11F
square
#1F6FA1 #921FA1 #A1511F #2EA11F
split-complementary
#1F6FA1 #A11F2E #A1921F
monochromatic
#0B283A #154C6E #1F6FA1 #2992D4 #5BACDF

Accessibility & contrast

On white

5.46
#1F6FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#1F6FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6FA1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6FA1#FFFFFF#000000##FFFFFF
##1F6FA11.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A3
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#007B81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f6fa1;
/* rgb */ color: rgb(31, 111, 161);
/* oklch */ color: oklch(51.9% 0.108 241.5);
Tailwind
colors: {
  custom: {
    50: '#7098bd',
    500: '#1f6fa1',
    950: '#000000',
  },
}
SCSS
$custom: #1f6fa1;
$custom-light: #7098bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6fa1",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 161
  },
  "hsl": {
    "h": 203.077,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.10837,
    "h": 241.5
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F6FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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