#1F489E#1F489E

#1F489E is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.148 H 262.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#1F489E
RGBrgb(31, 72, 158)
HSLhsl(221, 67%, 37%)
HSVhsv(221, 80%, 62%)
CMYKcmyk(80.4%, 54.4%, 0%, 38%)
CIE-LABlab(32.69, 18.48, -50.79)
CIE-LCHlch(32.69, 54.05, 289.99°)
OKLaboklab(42.61% -0.0188 -0.1465)
OKLCHoklch(42.61% 0.148 262.7)
XYZxyz(9.0518, 7.3936, 33.2912)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F489E #9E751F
analogous
#1F889E #1F489E #361F9E
triadic
#1F489E #9E1F48 #489E1F
tetradic
#1F489E #9E1F88 #9E751F #1F9E36
square
#1F489E #9E1F88 #9E751F #1F9E36
split-complementary
#1F489E #9E361F #889E1F
monochromatic
#0B1938 #15316B #1F489E #295FD1 #5984DE

Accessibility & contrast

On white

8.47
#1F489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1F489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F489E
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F489E#FFFFFF#000000##FFFFFF
##1F489E1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0153A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f489e;
/* rgb */ color: rgb(31, 72, 158);
/* oklch */ color: oklch(42.6% 0.148 262.7);
Tailwind
colors: {
  custom: {
    50: '#707abb',
    500: '#1f489e',
    950: '#000000',
  },
}
SCSS
$custom: #1f489e;
$custom-light: #707abb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f489e",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 220.63,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42615,
    "c": 0.14767,
    "h": 262.7
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F489E

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

Preview Lab → · Contrast checker → · Palette generator →

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