#1F2249#1F2249

#1F2249 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.071 H 277.2°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#1F2249
RGBrgb(31, 34, 73)
HSLhsl(236, 40%, 20%)
HSVhsv(236, 58%, 29%)
CMYKcmyk(57.5%, 53.4%, 0%, 71.4%)
CIE-LABlab(15.04, 11.64, -24.84)
CIE-LCHlch(15.04, 27.43, 295.11°)
OKLaboklab(27.21% 0.009 -0.0707)
OKLCHoklch(27.21% 0.071 277.2)
XYZxyz(2.3393, 1.9163, 6.5486)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2249 #49461F
analogous
#1F3749 #1F2249 #311F49
triadic
#1F2249 #491F22 #22491F
tetradic
#1F2249 #491F37 #49461F #1F4931
square
#1F2249 #491F37 #49461F #1F4931
split-complementary
#1F2249 #49311F #37491F
monochromatic
#090A15 #0D0E1E #1F2249 #313674 #434A9F

Accessibility & contrast

On white

15.18
#1F2249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1F2249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2249
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2249#FFFFFF#000000##FFFFFF
##1F22491.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10284A
Deuteranopia (green-blind)
#0C2448
Tritanopia (blue-blind)
#0D2A32
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1f2249;
/* rgb */ color: rgb(31, 34, 73);
/* oklch */ color: oklch(27.2% 0.071 277.2);
Tailwind
colors: {
  custom: {
    50: '#5e5c7c',
    500: '#1f2249',
    950: '#000000',
  },
}
SCSS
$custom: #1f2249;
$custom-light: #5e5c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2249",
  "rgb": {
    "r": 31,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 235.714,
    "s": 40.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27209,
    "c": 0.0713,
    "h": 277.2
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#1F2249
secondary
#7E7A46
accent
#C858D0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#050409
muted
#79797B

Preview Lab

Preview with #1F2249

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

Preview Lab → · Contrast checker → · Palette generator →

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