#141F6D#141F6D

#141F6D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.134 H 269.3°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#141F6D
RGBrgb(20, 31, 109)
HSLhsl(233, 69%, 25%)
HSVhsv(233, 82%, 43%)
CMYKcmyk(81.7%, 71.6%, 0%, 57.3%)
CIE-LABlab(16.66, 26.16, -46.31)
CIE-LCHlch(16.66, 53.18, 299.46°)
OKLaboklab(29.21% -0.0016 -0.1341)
OKLCHoklch(29.21% 0.134 269.3)
XYZxyz(3.5378, 2.2324, 14.7095)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F6D #6D6214
analogous
#144C6D #141F6D #35146D
triadic
#141F6D #6D141F #1F6D14
tetradic
#141F6D #6D144C #6D6214 #146D35
square
#141F6D #6D144C #6D6214 #146D35
split-complementary
#141F6D #6D3514 #4C6D14
monochromatic
#05071A #0B1039 #141F6D #1D2EA1 #273CD4

Accessibility & contrast

On white

14.52
#141F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#141F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F6D
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F6D#FFFFFF#000000##FFFFFF
##141F6D1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#00256C
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #141f6d;
/* rgb */ color: rgb(20, 31, 109);
/* oklch */ color: oklch(29.2% 0.134 269.3);
Tailwind
colors: {
  custom: {
    50: '#635a98',
    500: '#141f6d',
    950: '#000000',
  },
}
SCSS
$custom: #141f6d;
$custom-light: #635a98;
$custom-dark: #000000;
JSON
{
  "hex": "#141f6d",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 232.584,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29213,
    "c": 0.13408,
    "h": 269.3
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#141F6D
secondary
#A49739
accent
#D63CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #141F6D

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

Preview Lab → · Contrast checker → · Palette generator →

#141F6D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva