#1F489C#1F489C

#1F489C is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.145 H 262.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#1F489C
RGBrgb(31, 72, 156)
HSLhsl(220, 67%, 37%)
HSVhsv(220, 80%, 61%)
CMYKcmyk(80.1%, 53.8%, 0%, 38.8%)
CIE-LABlab(32.54, 17.68, -49.83)
CIE-LCHlch(32.54, 52.87, 289.54°)
OKLaboklab(42.45% -0.019 -0.1436)
OKLCHoklch(42.45% 0.145 262.4)
XYZxyz(8.8810, 7.3253, 32.3919)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F489C #9C731F
analogous
#1F879C #1F489C #351F9C
triadic
#1F489C #9C1F48 #489C1F
tetradic
#1F489C #9C1F87 #9C731F #1F9C35
square
#1F489C #9C1F87 #9C731F #1F9C35
split-complementary
#1F489C #9C351F #879C1F
monochromatic
#0B1936 #153069 #1F489C #2960CF #5884DE

Accessibility & contrast

On white

8.52
#1F489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F489C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F489C#FFFFFF#000000##FFFFFF
##1F489C1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07539F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f489c;
/* rgb */ color: rgb(31, 72, 156);
/* oklch */ color: oklch(42.5% 0.145 262.4);
Tailwind
colors: {
  custom: {
    50: '#6f7aba',
    500: '#1f489c',
    950: '#000000',
  },
}
SCSS
$custom: #1f489c;
$custom-light: #6f7aba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f489c",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 220.32,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42453,
    "c": 0.14488,
    "h": 262.4
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#1F489C
secondary
#C19E55
accent
#B13EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1F489C

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

Preview Lab → · Contrast checker → · Palette generator →

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