#1F5193#1F5193

#1F5193 is a dark, vivid cyan. Relative luminance 0.083; OKLCH L 43.8% C 0.121 H 256.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#1F5193
RGBrgb(31, 81, 147)
HSLhsl(214, 65%, 35%)
HSVhsv(214, 79%, 58%)
CMYKcmyk(78.9%, 44.9%, 0%, 42.4%)
CIE-LABlab(34.56, 8.01, -41.11)
CIE-LCHlch(34.56, 41.88, 281.03°)
OKLaboklab(43.81% -0.0278 -0.1178)
OKLCHoklch(43.81% 0.121 256.7)
XYZxyz(8.7720, 8.2817, 28.7343)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5193 #93611F
analogous
#1F8B93 #1F5193 #271F93
triadic
#1F5193 #931F51 #51931F
tetradic
#1F5193 #931F8B #93611F #1F9327
square
#1F5193 #931F8B #93611F #1F9327
split-complementary
#1F5193 #93271F #8B931F
monochromatic
#0A192E #143560 #1F5193 #2A6DC6 #528DDA

Accessibility & contrast

On white

7.90
#1F5193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1F5193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5193
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5193#FFFFFF#000000##FFFFFF
##1F51931.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5796
Deuteranopia (green-blind)
#184C92
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5193;
/* rgb */ color: rgb(31, 81, 147);
/* oklch */ color: oklch(43.8% 0.121 256.7);
Tailwind
colors: {
  custom: {
    50: '#6d81b3',
    500: '#1f5193',
    950: '#000000',
  },
}
SCSS
$custom: #1f5193;
$custom-light: #6d81b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5193",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 147
  },
  "hsl": {
    "h": 214.138,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.12102,
    "h": 256.7
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#1F5193
secondary
#BE8E50
accent
#A040E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5193

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

Preview Lab → · Contrast checker → · Palette generator →

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