#1F557C#1F557C

#1F557C is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.3% C 0.086 H 243.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#1F557C
RGBrgb(31, 85, 124)
HSLhsl(205, 60%, 30%)
HSVhsv(205, 75%, 49%)
CMYKcmyk(75%, 31.5%, 0%, 51.4%)
CIE-LABlab(34.48, -3.62, -27.15)
CIE-LCHlch(34.48, 27.39, 262.41°)
OKLaboklab(43.32% -0.0379 -0.0768)
OKLCHoklch(43.32% 0.086 243.7)
XYZxyz(7.4503, 8.2427, 20.2632)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F557C #7C461F
analogous
#1F7C74 #1F557C #1F277C
triadic
#1F557C #7C1F55 #557C1F
tetradic
#1F557C #741F7C #7C461F #277C1F
square
#1F557C #741F7C #7C461F #277C1F
split-complementary
#1F557C #7C1F27 #7C741F
monochromatic
#07121A #13334B #1F557C #2B77AD #4596D0

Accessibility & contrast

On white

7.93
#1F557C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1F557C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F557C
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F557C#FFFFFF#000000##FFFFFF
##1F557C1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567E
Deuteranopia (green-blind)
#364D7B
Tritanopia (blue-blind)
#005F63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f557c;
/* rgb */ color: rgb(31, 85, 124);
/* oklch */ color: oklch(43.3% 0.086 243.7);
Tailwind
colors: {
  custom: {
    50: '#6884a2',
    500: '#1f557c',
    950: '#000000',
  },
}
SCSS
$custom: #1f557c;
$custom-light: #6884a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f557c",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 124
  },
  "hsl": {
    "h": 205.161,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43315,
    "c": 0.08568,
    "h": 243.7
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#1F557C
secondary
#AF7348
accent
#8745E3
background
#F6F8FA
surface
#EBEFF3
border
#C6CACD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F557C

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

Preview Lab → · Contrast checker → · Palette generator →

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