#1F499E#1F499E

#1F499E is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.146 H 262.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#1F499E
RGBrgb(31, 73, 158)
HSLhsl(220, 67%, 37%)
HSVhsv(220, 80%, 62%)
CMYKcmyk(80.4%, 53.8%, 0%, 38%)
CIE-LABlab(32.97, 17.80, -50.33)
CIE-LCHlch(32.97, 53.39, 289.47°)
OKLaboklab(42.83% -0.0196 -0.1451)
OKLCHoklch(42.83% 0.146 262.3)
XYZxyz(9.1170, 7.5239, 33.3129)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F499E #9E741F
analogous
#1F899E #1F499E #341F9E
triadic
#1F499E #9E1F49 #499E1F
tetradic
#1F499E #9E1F89 #9E741F #1F9E34
square
#1F499E #9E1F89 #9E741F #1F9E34
split-complementary
#1F499E #9E341F #899E1F
monochromatic
#0B1A38 #15316B #1F499E #2961D1 #5985DE

Accessibility & contrast

On white

8.38
#1F499E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F499E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F499E#FFFFFF#000000##FFFFFF
##1F499E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0754A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f499e;
/* rgb */ color: rgb(31, 73, 158);
/* oklch */ color: oklch(42.8% 0.146 262.3);
Tailwind
colors: {
  custom: {
    50: '#707bbb',
    500: '#1f499e',
    950: '#000000',
  },
}
SCSS
$custom: #1f499e;
$custom-light: #707bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f499e",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 158
  },
  "hsl": {
    "h": 220.157,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42831,
    "c": 0.1464,
    "h": 262.3
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F499E

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

Preview Lab → · Contrast checker → · Palette generator →

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