#1F449F#1F449F

#1F449F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.154 H 264.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#1F449F
RGBrgb(31, 68, 159)
HSLhsl(223, 67%, 37%)
HSVhsv(223, 81%, 62%)
CMYKcmyk(80.5%, 57.2%, 0%, 37.6%)
CIE-LABlab(31.64, 21.59, -53.10)
CIE-LCHlch(31.64, 57.32, 292.13°)
OKLaboklab(41.85% -0.0159 -0.1533)
OKLCHoklch(41.85% 0.154 264.1)
XYZxyz(8.8880, 6.9277, 33.6629)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F449F #9F7A1F
analogous
#1F849F #1F449F #3A1F9F
triadic
#1F449F #9F1F44 #449F1F
tetradic
#1F449F #9F1F84 #9F7A1F #1F9F3A
square
#1F449F #9F1F84 #9F7A1F #1F9F3A
split-complementary
#1F449F #9F3A1F #849F1F
monochromatic
#0B1839 #152E6C #1F449F #295AD2 #5A80DF

Accessibility & contrast

On white

8.80
#1F449F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1F449F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F449F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F449F#FFFFFF#000000##FFFFFF
##1F449F1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f449f;
/* rgb */ color: rgb(31, 68, 159);
/* oklch */ color: oklch(41.9% 0.154 264.1);
Tailwind
colors: {
  custom: {
    50: '#7077bc',
    500: '#1f449f',
    950: '#000000',
  },
}
SCSS
$custom: #1f449f;
$custom-light: #7077bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f449f",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 159
  },
  "hsl": {
    "h": 222.656,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4185,
    "c": 0.15411,
    "h": 264.1
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#1F449F
secondary
#C3A457
accent
#B83EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1F449F

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

Preview Lab → · Contrast checker → · Palette generator →

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