#1F489A#1F489A

#1F489A is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.142 H 262.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#1F489A
RGBrgb(31, 72, 154)
HSLhsl(220, 66%, 36%)
HSVhsv(220, 80%, 60%)
CMYKcmyk(79.9%, 53.2%, 0%, 39.6%)
CIE-LABlab(32.39, 16.88, -48.86)
CIE-LCHlch(32.39, 51.69, 289.06°)
OKLaboklab(42.29% -0.0193 -0.1408)
OKLCHoklch(42.29% 0.142 262.2)
XYZxyz(8.7131, 7.2581, 31.5073)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F489A #9A711F
analogous
#1F869A #1F489A #341F9A
triadic
#1F489A #9A1F48 #489A1F
tetradic
#1F489A #9A1F86 #9A711F #1F9A34
square
#1F489A #9A1F86 #9A711F #1F9A34
split-complementary
#1F489A #9A341F #869A1F
monochromatic
#0A1834 #153067 #1F489A #2960CD #5683DD

Accessibility & contrast

On white

8.57
#1F489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1F489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F489A
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F489A#FFFFFF#000000##FFFFFF
##1F489A1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D529D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f489a;
/* rgb */ color: rgb(31, 72, 154);
/* oklch */ color: oklch(42.3% 0.142 262.2);
Tailwind
colors: {
  custom: {
    50: '#6f7ab8',
    500: '#1f489a',
    950: '#000000',
  },
}
SCSS
$custom: #1f489a;
$custom-light: #6f7ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f489a",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 220,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42293,
    "c": 0.14207,
    "h": 262.2
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#1F489A
secondary
#C19C54
accent
#B03EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1F489A

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

Preview Lab → · Contrast checker → · Palette generator →

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