#1F457A#1F457A

#1F457A is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.2% C 0.100 H 257.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#1F457A
RGBrgb(31, 69, 122)
HSLhsl(215, 59%, 30%)
HSVhsv(215, 75%, 48%)
CMYKcmyk(74.6%, 43.4%, 0%, 52.2%)
CIE-LABlab(29.29, 6.11, -34.12)
CIE-LCHlch(29.29, 34.67, 280.14°)
OKLaboklab(39.21% -0.022 -0.0975)
OKLCHoklch(39.21% 0.1 257.3)
XYZxyz(6.2048, 5.9520, 19.2304)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F457A #7A541F
analogous
#1F737A #1F457A #261F7A
triadic
#1F457A #7A1F45 #457A1F
tetradic
#1F457A #7A1F73 #7A541F #1F7A26
square
#1F457A #7A1F73 #7A541F #1F7A26
split-complementary
#1F457A #7A261F #737A1F
monochromatic
#060E18 #132949 #1F457A #2B61AB #447ECF

Accessibility & contrast

On white

9.59
#1F457A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1F457A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F457A
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F457A#FFFFFF#000000##FFFFFF
##1F457A1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#1C4179
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f457a;
/* rgb */ color: rgb(31, 69, 122);
/* oklch */ color: oklch(39.2% 0.100 257.3);
Tailwind
colors: {
  custom: {
    50: '#6778a1',
    500: '#1f457a',
    950: '#000000',
  },
}
SCSS
$custom: #1f457a;
$custom-light: #6778a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f457a",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 122
  },
  "hsl": {
    "h": 214.945,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39211,
    "c": 0.09993,
    "h": 257.3
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#1F457A
secondary
#AD8347
accent
#A145E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #1F457A

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

Preview Lab → · Contrast checker → · Palette generator →

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