#1F347B#1F347B

#1F347B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.124 H 267.3°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#1F347B
RGBrgb(31, 52, 123)
HSLhsl(226, 60%, 30%)
HSVhsv(226, 75%, 48%)
CMYKcmyk(74.8%, 57.7%, 0%, 51.8%)
CIE-LABlab(24.25, 18.34, -42.87)
CIE-LCHlch(24.25, 46.63, 293.16°)
OKLaboklab(35.38% -0.0059 -0.1235)
OKLCHoklch(35.38% 0.124 267.3)
XYZxyz(5.3670, 4.1768, 19.2584)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F347B #7B661F
analogous
#1F627B #1F347B #381F7B
triadic
#1F347B #7B1F34 #347B1F
tetradic
#1F347B #7B1F62 #7B661F #1F7B38
square
#1F347B #7B1F62 #7B661F #1F7B38
split-complementary
#1F347B #7B381F #627B1F
monochromatic
#060B19 #131F4A #1F347B #2B49AC #4464D0

Accessibility & contrast

On white

11.44
#1F347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1F347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F347B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F347B#FFFFFF#000000##FFFFFF
##1F347B1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f347b;
/* rgb */ color: rgb(31, 52, 123);
/* oklch */ color: oklch(35.4% 0.124 267.3);
Tailwind
colors: {
  custom: {
    50: '#686ba2',
    500: '#1f347b',
    950: '#000000',
  },
}
SCSS
$custom: #1f347b;
$custom-light: #686ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f347b",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 226.304,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35377,
    "c": 0.12366,
    "h": 267.3
  },
  "luminance": 0.04177
}

Semantic roles & 50–950 ramp

primary
#1F347B
secondary
#AE9748
accent
#BF45E3
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1F347B

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

Preview Lab → · Contrast checker → · Palette generator →

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