#1F5D94#1F5D94

#1F5D94 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.109 H 249.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#1F5D94
RGBrgb(31, 93, 148)
HSLhsl(208, 65%, 35%)
HSVhsv(208, 79%, 58%)
CMYKcmyk(79.1%, 37.2%, 0%, 42%)
CIE-LABlab(38.30, 0.59, -35.76)
CIE-LCHlch(38.30, 35.76, 270.94°)
OKLaboklab(46.74% -0.0386 -0.1018)
OKLCHoklch(46.74% 0.109 249.2)
XYZxyz(9.8227, 10.2570, 29.4733)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D94 #94561F
analogous
#1F9490 #1F5D94 #1F2394
triadic
#1F5D94 #941F5D #5D941F
tetradic
#1F5D94 #901F94 #94561F #23941F
square
#1F5D94 #901F94 #94561F #23941F
split-complementary
#1F5D94 #941F23 #94901F
monochromatic
#0A1D2F #143D61 #1F5D94 #2A7DC7 #539BDB

Accessibility & contrast

On white

6.88
#1F5D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#1F5D94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5D94
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D94#FFFFFF#000000##FFFFFF
##1F5D941.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436096
Deuteranopia (green-blind)
#325593
Tritanopia (blue-blind)
#006A71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5d94;
/* rgb */ color: rgb(31, 93, 148);
/* oklch */ color: oklch(46.7% 0.109 249.2);
Tailwind
colors: {
  custom: {
    50: '#6d8ab4',
    500: '#1f5d94',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d94;
$custom-light: #6d8ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d94",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 148
  },
  "hsl": {
    "h": 208.205,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46743,
    "c": 0.10891,
    "h": 249.2
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#1F5D94
secondary
#BE8451
accent
#8F3FE8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5D94

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

Preview Lab → · Contrast checker → · Palette generator →

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