#1F2467#1F2467

#1F2467 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.2% C 0.116 H 273.9°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#1F2467
RGBrgb(31, 36, 103)
HSLhsl(236, 54%, 26%)
HSVhsv(236, 70%, 40%)
CMYKcmyk(69.9%, 65%, 0%, 59.6%)
CIE-LABlab(18.06, 21.76, -40.07)
CIE-LCHlch(18.06, 45.60, 298.51°)
OKLaboklab(30.24% 0.0079 -0.1155)
OKLCHoklch(30.24% 0.116 273.9)
XYZxyz(3.6433, 2.5320, 13.1261)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2467 #67621F
analogous
#1F4867 #1F2467 #3E1F67
triadic
#1F2467 #671F24 #24671F
tetradic
#1F2467 #671F48 #67621F #1F673E
square
#1F2467 #671F48 #67621F #1F673E
split-complementary
#1F2467 #673E1F #48671F
monochromatic
#070818 #111438 #1F2467 #2D3496 #3C46C4

Accessibility & contrast

On white

13.94
#1F2467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1F2467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2467
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2467#FFFFFF#000000##FFFFFF
##1F24671.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1f2467;
/* rgb */ color: rgb(31, 36, 103);
/* oklch */ color: oklch(30.2% 0.116 273.9);
Tailwind
colors: {
  custom: {
    50: '#655e93',
    500: '#1f2467',
    950: '#000000',
  },
}
SCSS
$custom: #1f2467;
$custom-light: #655e93;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2467",
  "rgb": {
    "r": 31,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 235.833,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30237,
    "c": 0.11576,
    "h": 273.9
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#1F2467
secondary
#9B9546
accent
#D34BDD
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1F2467

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

Preview Lab → · Contrast checker → · Palette generator →

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