#1F5D93#1F5D93

#1F5D93 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.7% C 0.108 H 248.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#1F5D93
RGBrgb(31, 93, 147)
HSLhsl(208, 65%, 35%)
HSVhsv(208, 79%, 58%)
CMYKcmyk(78.9%, 36.7%, 0%, 42.4%)
CIE-LABlab(38.24, 0.20, -35.24)
CIE-LCHlch(38.24, 35.24, 270.33°)
OKLaboklab(46.68% -0.0389 -0.1003)
OKLCHoklch(46.68% 0.108 248.8)
XYZxyz(9.7439, 10.2254, 29.0583)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D93 #93551F
analogous
#1F938F #1F5D93 #1F2393
triadic
#1F5D93 #931F5D #5D931F
tetradic
#1F5D93 #8F1F93 #93551F #23931F
square
#1F5D93 #8F1F93 #93551F #23931F
split-complementary
#1F5D93 #931F23 #938F1F
monochromatic
#0A1D2E #143D60 #1F5D93 #2A7DC6 #529BDA

Accessibility & contrast

On white

6.90
#1F5D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F5D93
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D93#FFFFFF#000000##FFFFFF
##1F5D931.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f5d93;
/* rgb */ color: rgb(31, 93, 147);
/* oklch */ color: oklch(46.7% 0.108 248.8);
Tailwind
colors: {
  custom: {
    50: '#6d8ab3',
    500: '#1f5d93',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d93;
$custom-light: #6d8ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d93",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 147
  },
  "hsl": {
    "h": 207.931,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46681,
    "c": 0.1076,
    "h": 248.8
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#1F5D93
secondary
#BE8350
accent
#8E40E8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5D93

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

Preview Lab → · Contrast checker → · Palette generator →

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