#1F5493#1F5493

#1F5493 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.5% C 0.117 H 254.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#1F5493
RGBrgb(31, 84, 147)
HSLhsl(213, 65%, 35%)
HSVhsv(213, 79%, 58%)
CMYKcmyk(78.9%, 42.9%, 0%, 42.4%)
CIE-LABlab(35.47, 6.03, -39.65)
CIE-LCHlch(35.47, 40.11, 278.64°)
OKLaboklab(44.52% -0.0305 -0.1134)
OKLCHoklch(44.52% 0.117 254.9)
XYZxyz(8.9999, 8.7375, 28.8103)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5493 #935E1F
analogous
#1F8E93 #1F5493 #241F93
triadic
#1F5493 #931F54 #54931F
tetradic
#1F5493 #931F8E #935E1F #1F9324
square
#1F5493 #931F8E #935E1F #1F9324
split-complementary
#1F5493 #93241F #8E931F
monochromatic
#0A1A2E #143760 #1F5493 #2A71C6 #5290DA

Accessibility & contrast

On white

7.64
#1F5493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1F5493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5493
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5493#FFFFFF#000000##FFFFFF
##1F54931.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355995
Deuteranopia (green-blind)
#204F92
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5493;
/* rgb */ color: rgb(31, 84, 147);
/* oklch */ color: oklch(44.5% 0.117 254.9);
Tailwind
colors: {
  custom: {
    50: '#6d83b3',
    500: '#1f5493',
    950: '#000000',
  },
}
SCSS
$custom: #1f5493;
$custom-light: #6d83b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5493",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 147
  },
  "hsl": {
    "h": 212.586,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.11747,
    "h": 254.9
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#1F5493
secondary
#BE8C50
accent
#9B40E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5493

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

Preview Lab → · Contrast checker → · Palette generator →

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