#1F5191#1F5191

#1F5191 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.7% C 0.118 H 256.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#1F5191
RGBrgb(31, 81, 145)
HSLhsl(214, 65%, 35%)
HSVhsv(214, 79%, 57%)
CMYKcmyk(78.6%, 44.1%, 0%, 43.1%)
CIE-LABlab(34.44, 7.22, -40.10)
CIE-LCHlch(34.44, 40.74, 280.20°)
OKLaboklab(43.67% -0.0283 -0.1148)
OKLCHoklch(43.67% 0.118 256.2)
XYZxyz(8.6164, 8.2195, 27.9150)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5191 #915F1F
analogous
#1F8A91 #1F5191 #261F91
triadic
#1F5191 #911F51 #51911F
tetradic
#1F5191 #911F8A #915F1F #1F9126
square
#1F5191 #911F8A #915F1F #1F9126
split-complementary
#1F5191 #91261F #8A911F
monochromatic
#09192C #14355F #1F5191 #2A6DC3 #518DDA

Accessibility & contrast

On white

7.94
#1F5191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5191
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5191#FFFFFF#000000##FFFFFF
##1F51911.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315793
Deuteranopia (green-blind)
#1C4C90
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5191;
/* rgb */ color: rgb(31, 81, 145);
/* oklch */ color: oklch(43.7% 0.118 256.2);
Tailwind
colors: {
  custom: {
    50: '#6c81b2',
    500: '#1f5191',
    950: '#000000',
  },
}
SCSS
$custom: #1f5191;
$custom-light: #6c81b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5191",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 145
  },
  "hsl": {
    "h": 213.684,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.11823,
    "h": 256.2
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#1F5191
secondary
#BD8D4F
accent
#9E40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5191

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

Preview Lab → · Contrast checker → · Palette generator →

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