#1F499F#1F499F

#1F499F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.148 H 262.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#1F499F
RGBrgb(31, 73, 159)
HSLhsl(220, 67%, 37%)
HSVhsv(220, 81%, 62%)
CMYKcmyk(80.5%, 54.1%, 0%, 37.6%)
CIE-LABlab(33.05, 18.20, -50.82)
CIE-LCHlch(33.05, 53.97, 289.70°)
OKLaboklab(42.91% -0.0195 -0.1465)
OKLCHoklch(42.91% 0.148 262.4)
XYZxyz(9.2034, 7.5585, 33.7680)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F499F #9F751F
analogous
#1F899F #1F499F #351F9F
triadic
#1F499F #9F1F49 #499F1F
tetradic
#1F499F #9F1F89 #9F751F #1F9F35
square
#1F499F #9F1F89 #9F751F #1F9F35
split-complementary
#1F499F #9F351F #899F1F
monochromatic
#0B1A39 #15316C #1F499F #2961D2 #5A85DF

Accessibility & contrast

On white

8.36
#1F499F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1F499F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F499F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F499F#FFFFFF#000000##FFFFFF
##1F499F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0454A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f499f;
/* rgb */ color: rgb(31, 73, 159);
/* oklch */ color: oklch(42.9% 0.148 262.4);
Tailwind
colors: {
  custom: {
    50: '#707bbc',
    500: '#1f499f',
    950: '#000000',
  },
}
SCSS
$custom: #1f499f;
$custom-light: #707bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f499f",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 159
  },
  "hsl": {
    "h": 220.313,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42912,
    "c": 0.14779,
    "h": 262.4
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F499F

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

Preview Lab → · Contrast checker → · Palette generator →

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