#1F6FA5#1F6FA5

#1F6FA5 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.1% C 0.113 H 243.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1F6FA5
RGBrgb(31, 111, 165)
HSLhsl(204, 68%, 38%)
HSVhsv(204, 81%, 65%)
CMYKcmyk(81.2%, 32.7%, 0%, 35.3%)
CIE-LABlab(44.77, -4.05, -35.64)
CIE-LCHlch(44.77, 35.87, 263.51°)
OKLaboklab(52.13% -0.0504 -0.1012)
OKLCHoklch(52.13% 0.113 243.5)
XYZxyz(13.0384, 14.3752, 37.6775)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6FA5 #A5551F
analogous
#1FA598 #1F6FA5 #1F2CA5
triadic
#1F6FA5 #A51F6F #6FA51F
tetradic
#1F6FA5 #981FA5 #A5551F #2CA51F
square
#1F6FA5 #981FA5 #A5551F #2CA51F
split-complementary
#1F6FA5 #A51F2C #A5981F
monochromatic
#0C2A3E #154C71 #1F6FA5 #2A91D7 #5EACE1

Accessibility & contrast

On white

5.42
#1F6FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#1F6FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6FA5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6FA5#FFFFFF#000000##FFFFFF
##1F6FA51.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5671A7
Deuteranopia (green-blind)
#4364A4
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f6fa5;
/* rgb */ color: rgb(31, 111, 165);
/* oklch */ color: oklch(52.1% 0.113 243.5);
Tailwind
colors: {
  custom: {
    50: '#7198c0',
    500: '#1f6fa5',
    950: '#000000',
  },
}
SCSS
$custom: #1f6fa5;
$custom-light: #7198c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6fa5",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 165
  },
  "hsl": {
    "h": 204.179,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.11306,
    "h": 243.5
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#1F6FA5
secondary
#C5865B
accent
#833DEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F6FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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