#1F5089#1F5089

#1F5089 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.9% C 0.108 H 254.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#1F5089
RGBrgb(31, 80, 137)
HSLhsl(212, 63%, 33%)
HSVhsv(212, 77%, 54%)
CMYKcmyk(77.4%, 41.6%, 0%, 46.3%)
CIE-LABlab(33.63, 4.70, -36.49)
CIE-LCHlch(33.63, 36.79, 277.34°)
OKLaboklab(42.89% -0.0292 -0.1042)
OKLCHoklch(42.89% 0.108 254.4)
XYZxyz(7.9474, 7.8339, 24.7553)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5089 #89581F
analogous
#1F8589 #1F5089 #231F89
triadic
#1F5089 #891F50 #50891F
tetradic
#1F5089 #891F85 #89581F #1F8923
square
#1F5089 #891F85 #89581F #1F8923
split-complementary
#1F5089 #89231F #85891F
monochromatic
#081625 #143357 #1F5089 #2A6DBB #4C8CD6

Accessibility & contrast

On white

8.18
#1F5089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1F5089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5089
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5089#FFFFFF#000000##FFFFFF
##1F50891.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548B
Deuteranopia (green-blind)
#234B88
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f5089;
/* rgb */ color: rgb(31, 80, 137);
/* oklch */ color: oklch(42.9% 0.108 254.4);
Tailwind
colors: {
  custom: {
    50: '#6b80ac',
    500: '#1f5089',
    950: '#000000',
  },
}
SCSS
$custom: #1f5089;
$custom-light: #6b80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5089",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 137
  },
  "hsl": {
    "h": 212.264,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.10823,
    "h": 254.4
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#1F5089
secondary
#B9864B
accent
#9A42E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5089

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

Preview Lab → · Contrast checker → · Palette generator →

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