#1F489F#1F489F

#1F489F is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.149 H 262.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1F489F
RGBrgb(31, 72, 159)
HSLhsl(221, 67%, 37%)
HSVhsv(221, 81%, 62%)
CMYKcmyk(80.5%, 54.7%, 0%, 37.6%)
CIE-LABlab(32.76, 18.87, -51.27)
CIE-LCHlch(32.76, 54.64, 290.21°)
OKLaboklab(42.7% -0.0187 -0.1479)
OKLCHoklch(42.7% 0.149 262.8)
XYZxyz(9.1382, 7.4282, 33.7463)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F489F #9F761F
analogous
#1F889F #1F489F #361F9F
triadic
#1F489F #9F1F48 #489F1F
tetradic
#1F489F #9F1F88 #9F761F #1F9F36
square
#1F489F #9F1F88 #9F761F #1F9F36
split-complementary
#1F489F #9F361F #889F1F
monochromatic
#0B1A39 #15316C #1F489F #295FD2 #5A84DF

Accessibility & contrast

On white

8.45
#1F489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1F489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F489F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F489F#FFFFFF#000000##FFFFFF
##1F489F1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f489f;
/* rgb */ color: rgb(31, 72, 159);
/* oklch */ color: oklch(42.7% 0.149 262.8);
Tailwind
colors: {
  custom: {
    50: '#707abc',
    500: '#1f489f',
    950: '#000000',
  },
}
SCSS
$custom: #1f489f;
$custom-light: #707abc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f489f",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 220.781,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42696,
    "c": 0.14905,
    "h": 262.8
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#1F489F
secondary
#C3A057
accent
#B33EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1F489F

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

Preview Lab → · Contrast checker → · Palette generator →

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