#1F3A67#1F3A67

#1F3A67 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.2% C 0.085 H 260.0°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#1F3A67
RGBrgb(31, 58, 103)
HSLhsl(218, 54%, 26%)
HSVhsv(218, 70%, 40%)
CMYKcmyk(69.9%, 43.7%, 0%, 59.6%)
CIE-LABlab(24.63, 6.10, -29.48)
CIE-LCHlch(24.63, 30.11, 281.69°)
OKLaboklab(35.21% -0.0148 -0.084)
OKLCHoklch(35.21% 0.085 260)
XYZxyz(4.5254, 4.2962, 13.4201)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3A67 #674C1F
analogous
#1F5E67 #1F3A67 #281F67
triadic
#1F3A67 #671F3A #3A671F
tetradic
#1F3A67 #671F5E #674C1F #1F6728
square
#1F3A67 #671F5E #674C1F #1F6728
split-complementary
#1F3A67 #67281F #5E671F
monochromatic
#070D18 #112038 #1F3A67 #2D5496 #3C6FC4

Accessibility & contrast

On white

11.29
#1F3A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F3A67
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3A67#FFFFFF#000000##FFFFFF
##1F3A671.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E69
Deuteranopia (green-blind)
#1A3766
Tritanopia (blue-blind)
#00444B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f3a67;
/* rgb */ color: rgb(31, 58, 103);
/* oklch */ color: oklch(35.2% 0.085 260.0);
Tailwind
colors: {
  custom: {
    50: '#636f93',
    500: '#1f3a67',
    950: '#000000',
  },
}
SCSS
$custom: #1f3a67;
$custom-light: #636f93;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3a67",
  "rgb": {
    "r": 31,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 217.5,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35208,
    "c": 0.08533,
    "h": 260
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#1F3A67
secondary
#9B7C46
accent
#A64BDD
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1F3A67

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

Preview Lab → · Contrast checker → · Palette generator →

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