#1F293C#1F293C

#1F293C is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.1% C 0.038 H 262.8°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#1F293C
RGBrgb(31, 41, 60)
HSLhsl(219, 32%, 18%)
HSVhsv(219, 48%, 24%)
CMYKcmyk(48.3%, 31.7%, 0%, 76.5%)
CIE-LABlab(16.52, 1.75, -13.51)
CIE-LCHlch(16.52, 13.62, 277.36°)
OKLaboklab(28.09% -0.0048 -0.0377)
OKLCHoklch(28.09% 0.038 262.8)
XYZxyz(2.1734, 2.2033, 4.5848)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F293C #3C321F
analogous
#1F373C #1F293C #231F3C
triadic
#1F293C #3C1F29 #293C1F
tetradic
#1F293C #3C1F37 #3C321F #1F3C23
square
#1F293C #3C1F37 #3C321F #1F3C23
split-complementary
#1F293C #3C231F #373C1F
monochromatic
#0A0E14 #0A0E14 #1F293C #344564 #49608D

Accessibility & contrast

On white

14.58
#1F293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1F293C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F293C
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F293C#FFFFFF#000000##FFFFFF
##1F293C1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3D
Deuteranopia (green-blind)
#1F283C
Tritanopia (blue-blind)
#152D30
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1f293c;
/* rgb */ color: rgb(31, 41, 60);
/* oklch */ color: oklch(28.1% 0.038 262.8);
Tailwind
colors: {
  custom: {
    50: '#5c6271',
    500: '#1f293c',
    950: '#000000',
  },
}
SCSS
$custom: #1f293c;
$custom-light: #5c6271;
$custom-dark: #000000;
JSON
{
  "hex": "#1f293c",
  "rgb": {
    "r": 31,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 219.31,
    "s": 31.868,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28086,
    "c": 0.03799,
    "h": 262.8
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#1F293C
secondary
#706247
accent
#A460C8
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#040507
muted
#79797A

Preview Lab

Preview with #1F293C

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

Preview Lab → · Contrast checker → · Palette generator →

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