#1F5E94#1F5E94

#1F5E94 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.0% C 0.108 H 248.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#1F5E94
RGBrgb(31, 94, 148)
HSLhsl(208, 65%, 35%)
HSVhsv(208, 79%, 58%)
CMYKcmyk(79.1%, 36.5%, 0%, 42%)
CIE-LABlab(38.61, -0.05, -35.26)
CIE-LCHlch(38.61, 35.26, 269.92°)
OKLaboklab(46.99% -0.0395 -0.1004)
OKLCHoklch(46.99% 0.108 248.5)
XYZxyz(9.9110, 10.4337, 29.5028)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E94 #94551F
analogous
#1F948F #1F5E94 #1F2494
triadic
#1F5E94 #941F5E #5E941F
tetradic
#1F5E94 #8F1F94 #94551F #24941F
square
#1F5E94 #8F1F94 #94551F #24941F
split-complementary
#1F5E94 #941F24 #948F1F
monochromatic
#0A1E2F #143E61 #1F5E94 #2A7EC7 #539CDB

Accessibility & contrast

On white

6.80
#1F5E94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#1F5E94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5E94
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E94#FFFFFF#000000##FFFFFF
##1F5E941.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456196
Deuteranopia (green-blind)
#345693
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f5e94;
/* rgb */ color: rgb(31, 94, 148);
/* oklch */ color: oklch(47.0% 0.108 248.5);
Tailwind
colors: {
  custom: {
    50: '#6d8bb4',
    500: '#1f5e94',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e94;
$custom-light: #6d8bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e94",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 148
  },
  "hsl": {
    "h": 207.692,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46986,
    "c": 0.10789,
    "h": 248.5
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#1F5E94
secondary
#BE8351
accent
#8D3FE8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5E94

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

Preview Lab → · Contrast checker → · Palette generator →

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