#1F558B#1F558B

#1F558B is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.105 H 251.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#1F558B
RGBrgb(31, 85, 139)
HSLhsl(210, 64%, 33%)
HSVhsv(210, 78%, 55%)
CMYKcmyk(77.7%, 38.8%, 0%, 45.5%)
CIE-LABlab(35.30, 2.21, -35.06)
CIE-LCHlch(35.30, 35.13, 273.61°)
OKLaboklab(44.23% -0.0334 -0.0999)
OKLCHoklch(44.23% 0.105 251.5)
XYZxyz(8.4720, 8.6514, 25.6445)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F558B #8B551F
analogous
#1F8B8B #1F558B #1F1F8B
triadic
#1F558B #8B1F55 #558B1F
tetradic
#1F558B #8B1F8B #8B551F #1F8B1F
square
#1F558B #8B1F8B #8B551F #1F8B1F
split-complementary
#1F558B #8B1F1F #8B8B1F
monochromatic
#091827 #143659 #1F558B #2A74BD #4D92D7

Accessibility & contrast

On white

7.69
#1F558B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1F558B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F558B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F558B#FFFFFF#000000##FFFFFF
##1F558B1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588D
Deuteranopia (green-blind)
#2B4E8A
Tritanopia (blue-blind)
#006269
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f558b;
/* rgb */ color: rgb(31, 85, 139);
/* oklch */ color: oklch(44.2% 0.105 251.5);
Tailwind
colors: {
  custom: {
    50: '#6b84ad',
    500: '#1f558b',
    950: '#000000',
  },
}
SCSS
$custom: #1f558b;
$custom-light: #6b84ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f558b",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 139
  },
  "hsl": {
    "h": 210,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.10538,
    "h": 251.5
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#1F558B
secondary
#BA834C
accent
#9441E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1F558B

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

Preview Lab → · Contrast checker → · Palette generator →

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