#1F5190#1F5190

#1F5190 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.117 H 255.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#1F5190
RGBrgb(31, 81, 144)
HSLhsl(213, 65%, 34%)
HSVhsv(213, 78%, 56%)
CMYKcmyk(78.5%, 43.8%, 0%, 43.5%)
CIE-LABlab(34.37, 6.82, -39.59)
CIE-LCHlch(34.37, 40.17, 279.77°)
OKLaboklab(43.6% -0.0285 -0.1133)
OKLCHoklch(43.6% 0.117 255.9)
XYZxyz(8.5397, 8.1888, 27.5107)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5190 #905E1F
analogous
#1F8A90 #1F5190 #261F90
triadic
#1F5190 #901F51 #51901F
tetradic
#1F5190 #901F8A #905E1F #1F9026
square
#1F5190 #901F8A #905E1F #1F9026
split-complementary
#1F5190 #90261F #8A901F
monochromatic
#09182B #14355E #1F5190 #2A6DC2 #508DD9

Accessibility & contrast

On white

7.96
#1F5190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1F5190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5190
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5190#FFFFFF#000000##FFFFFF
##1F51901.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325692
Deuteranopia (green-blind)
#1D4C8F
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5190;
/* rgb */ color: rgb(31, 81, 144);
/* oklch */ color: oklch(43.6% 0.117 255.9);
Tailwind
colors: {
  custom: {
    50: '#6c81b1',
    500: '#1f5190',
    950: '#000000',
  },
}
SCSS
$custom: #1f5190;
$custom-light: #6c81b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5190",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 144
  },
  "hsl": {
    "h": 213.451,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43601,
    "c": 0.11684,
    "h": 255.9
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#1F5190
secondary
#BC8C4E
accent
#9E40E8
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5190

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

Preview Lab → · Contrast checker → · Palette generator →

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