#1F6796#1F6796

#1F6796 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.3% C 0.102 H 242.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#1F6796
RGBrgb(31, 103, 150)
HSLhsl(204, 66%, 35%)
HSVhsv(204, 79%, 59%)
CMYKcmyk(79.3%, 31.3%, 0%, 41.2%)
CIE-LABlab(41.52, -4.88, -31.87)
CIE-LCHlch(41.52, 32.24, 261.30°)
OKLaboklab(49.32% -0.0476 -0.0903)
OKLCHoklch(49.32% 0.102 242.2)
XYZxyz(10.9182, 12.1925, 30.6262)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6796 #964E1F
analogous
#1F9689 #1F6796 #1F2C96
triadic
#1F6796 #961F67 #67961F
tetradic
#1F6796 #891F96 #964E1F #2C961F
square
#1F6796 #891F96 #964E1F #2C961F
split-complementary
#1F6796 #961F2C #96891F
monochromatic
#0A2131 #154463 #1F6796 #298AC9 #54A6DC

Accessibility & contrast

On white

6.11
#1F6796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#1F6796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6796
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6796#FFFFFF#000000##FFFFFF
##1F67961.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516898
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f6796;
/* rgb */ color: rgb(31, 103, 150);
/* oklch */ color: oklch(49.3% 0.102 242.2);
Tailwind
colors: {
  custom: {
    50: '#6e92b5',
    500: '#1f6796',
    950: '#000000',
  },
}
SCSS
$custom: #1f6796;
$custom-light: #6e92b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6796",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 150
  },
  "hsl": {
    "h": 203.697,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49316,
    "c": 0.10209,
    "h": 242.2
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#1F6796
secondary
#BF7D52
accent
#823FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1F6796

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

Preview Lab → · Contrast checker → · Palette generator →

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