#1F5389#1F5389

#1F5389 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.6% C 0.105 H 252.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#1F5389
RGBrgb(31, 83, 137)
HSLhsl(211, 63%, 33%)
HSVhsv(211, 77%, 54%)
CMYKcmyk(77.4%, 39.4%, 0%, 46.3%)
CIE-LABlab(34.57, 2.73, -35.01)
CIE-LCHlch(34.57, 35.11, 274.45°)
OKLaboklab(43.61% -0.032 -0.0998)
OKLCHoklch(43.61% 0.105 252.2)
XYZxyz(8.1720, 8.2830, 24.8302)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5389 #89551F
analogous
#1F8889 #1F5389 #201F89
triadic
#1F5389 #891F53 #53891F
tetradic
#1F5389 #891F88 #89551F #1F8920
square
#1F5389 #891F88 #89551F #1F8920
split-complementary
#1F5389 #89201F #88891F
monochromatic
#081725 #143557 #1F5389 #2A71BB #4C90D6

Accessibility & contrast

On white

7.90
#1F5389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1F5389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5389
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5389#FFFFFF#000000##FFFFFF
##1F53891.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578B
Deuteranopia (green-blind)
#294D88
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5389;
/* rgb */ color: rgb(31, 83, 137);
/* oklch */ color: oklch(43.6% 0.105 252.2);
Tailwind
colors: {
  custom: {
    50: '#6b83ac',
    500: '#1f5389',
    950: '#000000',
  },
}
SCSS
$custom: #1f5389;
$custom-light: #6b83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5389",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 137
  },
  "hsl": {
    "h": 210.566,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43613,
    "c": 0.10484,
    "h": 252.2
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#1F5389
secondary
#B9834B
accent
#9542E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5389

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

Preview Lab → · Contrast checker → · Palette generator →

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