#1F3679#1F3679

#1F3679 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.118 H 266.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#1F3679
RGBrgb(31, 54, 121)
HSLhsl(225, 59%, 30%)
HSVhsv(225, 74%, 47%)
CMYKcmyk(74.4%, 55.4%, 0%, 52.5%)
CIE-LABlab(24.67, 16.13, -40.92)
CIE-LCHlch(24.67, 43.99, 291.51°)
OKLaboklab(35.65% -0.0078 -0.1177)
OKLCHoklch(35.65% 0.118 266.2)
XYZxyz(5.3342, 4.3096, 18.6362)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3679 #79621F
analogous
#1F6379 #1F3679 #351F79
triadic
#1F3679 #791F36 #36791F
tetradic
#1F3679 #791F63 #79621F #1F7935
square
#1F3679 #791F63 #79621F #1F7935
split-complementary
#1F3679 #79351F #63791F
monochromatic
#060B18 #132048 #1F3679 #2B4CAA #4367CF

Accessibility & contrast

On white

11.28
#1F3679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1F3679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3679
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3679#FFFFFF#000000##FFFFFF
##1F36791.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063F7B
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f3679;
/* rgb */ color: rgb(31, 54, 121);
/* oklch */ color: oklch(35.6% 0.118 266.2);
Tailwind
colors: {
  custom: {
    50: '#686ca0',
    500: '#1f3679',
    950: '#000000',
  },
}
SCSS
$custom: #1f3679;
$custom-light: #686ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3679",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 121
  },
  "hsl": {
    "h": 224.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35646,
    "c": 0.11801,
    "h": 266.2
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#1F3679
secondary
#AC9347
accent
#BA45E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1F3679

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

Preview Lab → · Contrast checker → · Palette generator →

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