#1F367A#1F367A

#1F367A is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.119 H 266.3°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#1F367A
RGBrgb(31, 54, 122)
HSLhsl(225, 59%, 30%)
HSVhsv(225, 75%, 48%)
CMYKcmyk(74.6%, 55.7%, 0%, 52.2%)
CIE-LABlab(24.75, 16.53, -41.43)
CIE-LCHlch(24.75, 44.61, 291.75°)
OKLaboklab(35.73% -0.0077 -0.1192)
OKLCHoklch(35.73% 0.12 266.3)
XYZxyz(5.3959, 4.3342, 18.9608)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F367A #7A631F
analogous
#1F647A #1F367A #351F7A
triadic
#1F367A #7A1F36 #367A1F
tetradic
#1F367A #7A1F64 #7A631F #1F7A35
square
#1F367A #7A1F64 #7A631F #1F7A35
split-complementary
#1F367A #7A351F #647A1F
monochromatic
#060B18 #132049 #1F367A #2B4CAB #4467CF

Accessibility & contrast

On white

11.25
#1F367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1F367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F367A
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F367A#FFFFFF#000000##FFFFFF
##1F367A1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033F7C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f367a;
/* rgb */ color: rgb(31, 54, 122);
/* oklch */ color: oklch(35.7% 0.119 266.3);
Tailwind
colors: {
  custom: {
    50: '#686ca1',
    500: '#1f367a',
    950: '#000000',
  },
}
SCSS
$custom: #1f367a;
$custom-light: #686ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f367a",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 224.835,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.35729,
    "c": 0.1195,
    "h": 266.3
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#1F367A
secondary
#AD9447
accent
#BB45E3
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1F367A

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

Preview Lab → · Contrast checker → · Palette generator →

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