#1F347A#1F347A

#1F347A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.3% C 0.122 H 267.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#1F347A
RGBrgb(31, 52, 122)
HSLhsl(226, 59%, 30%)
HSVhsv(226, 75%, 48%)
CMYKcmyk(74.6%, 57.4%, 0%, 52.2%)
CIE-LABlab(24.17, 17.94, -42.37)
CIE-LCHlch(24.17, 46.01, 292.95°)
OKLaboklab(35.29% -0.006 -0.122)
OKLCHoklch(35.29% 0.122 267.2)
XYZxyz(5.3047, 4.1519, 18.9304)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F347A #7A651F
analogous
#1F617A #1F347A #381F7A
triadic
#1F347A #7A1F34 #347A1F
tetradic
#1F347A #7A1F61 #7A651F #1F7A38
square
#1F347A #7A1F61 #7A651F #1F7A38
split-complementary
#1F347A #7A381F #617A1F
monochromatic
#060A18 #131F49 #1F347A #2B49AB #4464CF

Accessibility & contrast

On white

11.47
#1F347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1F347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F347A
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F347A#FFFFFF#000000##FFFFFF
##1F347A1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f347a;
/* rgb */ color: rgb(31, 52, 122);
/* oklch */ color: oklch(35.3% 0.122 267.2);
Tailwind
colors: {
  custom: {
    50: '#686ba1',
    500: '#1f347a',
    950: '#000000',
  },
}
SCSS
$custom: #1f347a;
$custom-light: #686ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f347a",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 226.154,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.35292,
    "c": 0.12219,
    "h": 267.2
  },
  "luminance": 0.04152
}

Semantic roles & 50–950 ramp

primary
#1F347A
secondary
#AD9647
accent
#BE45E3
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1F347A

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

Preview Lab → · Contrast checker → · Palette generator →

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