#1F347C#1F347C

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

Color values

HEX#1F347C
RGBrgb(31, 52, 124)
HSLhsl(226, 60%, 30%)
HSVhsv(226, 75%, 49%)
CMYKcmyk(75%, 58.1%, 0%, 51.4%)
CIE-LABlab(24.33, 18.74, -43.38)
CIE-LCHlch(24.33, 47.25, 293.37°)
OKLaboklab(35.46% -0.0059 -0.125)
OKLCHoklch(35.46% 0.125 267.3)
XYZxyz(5.4299, 4.2020, 19.5898)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F347C #7C671F
analogous
#1F627C #1F347C #391F7C
triadic
#1F347C #7C1F34 #347C1F
tetradic
#1F347C #7C1F62 #7C671F #1F7C39
square
#1F347C #7C1F62 #7C671F #1F7C39
split-complementary
#1F347C #7C391F #627C1F
monochromatic
#070B1A #131F4B #1F347C #2B49AD #4564D0

Accessibility & contrast

On white

11.41
#1F347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F347C
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F347C#FFFFFF#000000##FFFFFF
##1F347C1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f347c;
/* rgb */ color: rgb(31, 52, 124);
/* oklch */ color: oklch(35.5% 0.125 267.3);
Tailwind
colors: {
  custom: {
    50: '#696ba2',
    500: '#1f347c',
    950: '#000000',
  },
}
SCSS
$custom: #1f347c;
$custom-light: #696ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f347c",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 226.452,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35463,
    "c": 0.12514,
    "h": 267.3
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#1F347C
secondary
#AF9848
accent
#BF45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1F347C

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

Preview Lab → · Contrast checker → · Palette generator →

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