#1F4590#1F4590

#1F4590 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.132 H 262.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#1F4590
RGBrgb(31, 69, 144)
HSLhsl(220, 65%, 34%)
HSVhsv(220, 78%, 56%)
CMYKcmyk(78.5%, 52.1%, 0%, 43.5%)
CIE-LABlab(30.78, 14.93, -45.36)
CIE-LCHlch(30.78, 47.75, 288.22°)
OKLaboklab(40.84% -0.0181 -0.1305)
OKLCHoklch(40.84% 0.132 262.1)
XYZxyz(7.7254, 6.5603, 27.2393)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4590 #906A1F
analogous
#1F7E90 #1F4590 #321F90
triadic
#1F4590 #901F45 #45901F
tetradic
#1F4590 #901F7E #906A1F #1F9032
square
#1F4590 #901F7E #906A1F #1F9032
split-complementary
#1F4590 #90321F #7E901F
monochromatic
#09152B #142D5E #1F4590 #2A5DC2 #507ED9

Accessibility & contrast

On white

9.08
#1F4590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1F4590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4590
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4590#FFFFFF#000000##FFFFFF
##1F45901.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154E93
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f4590;
/* rgb */ color: rgb(31, 69, 144);
/* oklch */ color: oklch(40.8% 0.132 262.1);
Tailwind
colors: {
  custom: {
    50: '#6d78b1',
    500: '#1f4590',
    950: '#000000',
  },
}
SCSS
$custom: #1f4590;
$custom-light: #6d78b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4590",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 144
  },
  "hsl": {
    "h": 219.823,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40838,
    "c": 0.13177,
    "h": 262.1
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#1F4590
secondary
#BC974E
accent
#AF40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1F4590

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

Preview Lab → · Contrast checker → · Palette generator →

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