#1F5392#1F5392

#1F5392 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.117 H 255.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#1F5392
RGBrgb(31, 83, 146)
HSLhsl(213, 65%, 35%)
HSVhsv(213, 79%, 57%)
CMYKcmyk(78.8%, 43.2%, 0%, 42.7%)
CIE-LABlab(35.11, 6.29, -39.63)
CIE-LCHlch(35.11, 40.13, 279.02°)
OKLaboklab(44.21% -0.0299 -0.1134)
OKLCHoklch(44.21% 0.117 255.2)
XYZxyz(8.8447, 8.5521, 28.3731)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5392 #925E1F
analogous
#1F8C92 #1F5392 #251F92
triadic
#1F5392 #921F53 #53921F
tetradic
#1F5392 #921F8C #925E1F #1F9225
square
#1F5392 #921F8C #925E1F #1F9225
split-complementary
#1F5392 #92251F #8C921F
monochromatic
#0A1A2D #143660 #1F5392 #2A70C4 #518FDA

Accessibility & contrast

On white

7.75
#1F5392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#1F5392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5392
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5392#FFFFFF#000000##FFFFFF
##1F53921.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345894
Deuteranopia (green-blind)
#1F4E91
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5392;
/* rgb */ color: rgb(31, 83, 146);
/* oklch */ color: oklch(44.2% 0.117 255.2);
Tailwind
colors: {
  custom: {
    50: '#6d82b2',
    500: '#1f5392',
    950: '#000000',
  },
}
SCSS
$custom: #1f5392;
$custom-light: #6d82b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5392",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 146
  },
  "hsl": {
    "h": 212.87,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44211,
    "c": 0.11726,
    "h": 255.2
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#1F5392
secondary
#BD8C50
accent
#9C40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5392

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

Preview Lab → · Contrast checker → · Palette generator →

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