#1F467E#1F467E

#1F467E is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.7% C 0.105 H 257.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#1F467E
RGBrgb(31, 70, 126)
HSLhsl(215, 61%, 31%)
HSVhsv(215, 75%, 49%)
CMYKcmyk(75.4%, 44.4%, 0%, 50.6%)
CIE-LABlab(29.86, 7.02, -35.72)
CIE-LCHlch(29.86, 36.41, 281.12°)
OKLaboklab(39.73% -0.0221 -0.1022)
OKLCHoklch(39.73% 0.105 257.8)
XYZxyz(6.5198, 6.1773, 20.5833)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F467E #7E571F
analogous
#1F757E #1F467E #271F7E
triadic
#1F467E #7E1F46 #467E1F
tetradic
#1F467E #7E1F75 #7E571F #1F7E27
square
#1F467E #7E1F75 #7E571F #1F7E27
split-complementary
#1F467E #7E271F #757E1F
monochromatic
#070F1C #132B4D #1F467E #2B61AF #467FD1

Accessibility & contrast

On white

9.39
#1F467E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1F467E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F467E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F467E#FFFFFF#000000##FFFFFF
##1F467E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#1A427D
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f467e;
/* rgb */ color: rgb(31, 70, 126);
/* oklch */ color: oklch(39.7% 0.105 257.8);
Tailwind
colors: {
  custom: {
    50: '#6879a4',
    500: '#1f467e',
    950: '#000000',
  },
}
SCSS
$custom: #1f467e;
$custom-light: #6879a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f467e",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 126
  },
  "hsl": {
    "h": 215.368,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3973,
    "c": 0.10452,
    "h": 257.8
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#1F467E
secondary
#B18648
accent
#A244E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F467E

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

Preview Lab → · Contrast checker → · Palette generator →

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