#1F6A8A#1F6A8A

#1F6A8A is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.4% C 0.087 H 231.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#1F6A8A
RGBrgb(31, 106, 138)
HSLhsl(198, 63%, 33%)
HSVhsv(198, 78%, 54%)
CMYKcmyk(77.5%, 23.2%, 0%, 45.9%)
CIE-LABlab(41.90, -11.14, -24.09)
CIE-LCHlch(41.90, 26.54, 245.19°)
OKLaboklab(49.43% -0.0548 -0.0678)
OKLCHoklch(49.43% 0.087 231)
XYZxyz(10.3047, 12.4331, 25.8966)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6A8A #8A3F1F
analogous
#1F8A74 #1F6A8A #1F348A
triadic
#1F6A8A #8A1F6A #6A8A1F
tetradic
#1F6A8A #741F8A #8A3F1F #348A1F
square
#1F6A8A #741F8A #8A3F1F #348A1F
split-complementary
#1F6A8A #8A1F34 #8A741F
monochromatic
#091D26 #144458 #1F6A8A #2A90BC #4CAED7

Accessibility & contrast

On white

6.02
#1F6A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#1F6A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6A8A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6A8A#FFFFFF#000000##FFFFFF
##1F6A8A1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A698C
Deuteranopia (green-blind)
#4B5E8A
Tritanopia (blue-blind)
#007375
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1f6a8a;
/* rgb */ color: rgb(31, 106, 138);
/* oklch */ color: oklch(49.4% 0.087 231.0);
Tailwind
colors: {
  custom: {
    50: '#6c94ac',
    500: '#1f6a8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f6a8a;
$custom-light: #6c94ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6a8a",
  "rgb": {
    "r": 31,
    "g": 106,
    "b": 138
  },
  "hsl": {
    "h": 197.944,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.08714,
    "h": 231
  },
  "luminance": 0.12434
}

Semantic roles & 50–950 ramp

primary
#1F6A8A
secondary
#BA6C4B
accent
#7341E6
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #1F6A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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