#1F489D#1F489D

#1F489D is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.146 H 262.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#1F489D
RGBrgb(31, 72, 157)
HSLhsl(220, 67%, 37%)
HSVhsv(220, 80%, 62%)
CMYKcmyk(80.3%, 54.1%, 0%, 38.4%)
CIE-LABlab(32.61, 18.08, -50.31)
CIE-LCHlch(32.61, 53.46, 289.76°)
OKLaboklab(42.53% -0.019 -0.145)
OKLCHoklch(42.53% 0.146 262.6)
XYZxyz(8.9661, 7.3593, 32.8397)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F489D #9D741F
analogous
#1F879D #1F489D #351F9D
triadic
#1F489D #9D1F48 #489D1F
tetradic
#1F489D #9D1F87 #9D741F #1F9D35
square
#1F489D #9D1F87 #9D741F #1F9D35
split-complementary
#1F489D #9D351F #879D1F
monochromatic
#0B1937 #15316A #1F489D #295FD0 #5884DE

Accessibility & contrast

On white

8.50
#1F489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1F489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F489D
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F489D#FFFFFF#000000##FFFFFF
##1F489D1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0453A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f489d;
/* rgb */ color: rgb(31, 72, 157);
/* oklch */ color: oklch(42.5% 0.146 262.6);
Tailwind
colors: {
  custom: {
    50: '#707abb',
    500: '#1f489d',
    950: '#000000',
  },
}
SCSS
$custom: #1f489d;
$custom-light: #707abb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f489d",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 220.476,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42534,
    "c": 0.14627,
    "h": 262.6
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

primary
#1F489D
secondary
#C29F56
accent
#B23EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1F489D

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

Preview Lab → · Contrast checker → · Palette generator →

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