#1F5289#1F5289

#1F5289 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.4% C 0.106 H 252.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#1F5289
RGBrgb(31, 82, 137)
HSLhsl(211, 63%, 33%)
HSVhsv(211, 77%, 54%)
CMYKcmyk(77.4%, 40.1%, 0%, 46.3%)
CIE-LABlab(34.25, 3.38, -35.50)
CIE-LCHlch(34.25, 35.66, 275.44°)
OKLaboklab(43.37% -0.0311 -0.1013)
OKLCHoklch(43.37% 0.106 252.9)
XYZxyz(8.0960, 8.1311, 24.8048)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5289 #89561F
analogous
#1F8789 #1F5289 #211F89
triadic
#1F5289 #891F52 #52891F
tetradic
#1F5289 #891F87 #89561F #1F8921
square
#1F5289 #891F87 #89561F #1F8921
split-complementary
#1F5289 #89211F #87891F
monochromatic
#081625 #143457 #1F5289 #2A70BB #4C8FD6

Accessibility & contrast

On white

8.00
#1F5289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1F5289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5289
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5289#FFFFFF#000000##FFFFFF
##1F52891.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568B
Deuteranopia (green-blind)
#274C88
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5289;
/* rgb */ color: rgb(31, 82, 137);
/* oklch */ color: oklch(43.4% 0.106 252.9);
Tailwind
colors: {
  custom: {
    50: '#6b82ac',
    500: '#1f5289',
    950: '#000000',
  },
}
SCSS
$custom: #1f5289;
$custom-light: #6b82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5289",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 137
  },
  "hsl": {
    "h": 211.132,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4337,
    "c": 0.10595,
    "h": 252.9
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#1F5289
secondary
#B9844B
accent
#9742E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5289

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

Preview Lab → · Contrast checker → · Palette generator →

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