#1F5391#1F5391

#1F5391 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.1% C 0.116 H 255.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#1F5391
RGBrgb(31, 83, 145)
HSLhsl(213, 65%, 35%)
HSVhsv(213, 79%, 57%)
CMYKcmyk(78.6%, 42.8%, 0%, 43.1%)
CIE-LABlab(35.05, 5.89, -39.12)
CIE-LCHlch(35.05, 39.56, 278.57°)
OKLaboklab(44.14% -0.0301 -0.1119)
OKLCHoklch(44.14% 0.116 255)
XYZxyz(8.7673, 8.5211, 27.9652)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5391 #915D1F
analogous
#1F8C91 #1F5391 #241F91
triadic
#1F5391 #911F53 #53911F
tetradic
#1F5391 #911F8C #915D1F #1F9124
square
#1F5391 #911F8C #915D1F #1F9124
split-complementary
#1F5391 #91241F #8C911F
monochromatic
#09192C #14365F #1F5391 #2A70C3 #518FDA

Accessibility & contrast

On white

7.77
#1F5391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1F5391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5391
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5391#FFFFFF#000000##FFFFFF
##1F53911.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355893
Deuteranopia (green-blind)
#214E90
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5391;
/* rgb */ color: rgb(31, 83, 145);
/* oklch */ color: oklch(44.1% 0.116 255.0);
Tailwind
colors: {
  custom: {
    50: '#6c82b1',
    500: '#1f5391',
    950: '#000000',
  },
}
SCSS
$custom: #1f5391;
$custom-light: #6c82b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5391",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 145
  },
  "hsl": {
    "h": 212.632,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44143,
    "c": 0.11587,
    "h": 255
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#1F5391
secondary
#BD8B4F
accent
#9B40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5391

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

Preview Lab → · Contrast checker → · Palette generator →

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