#141F61#141F61

#141F61 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.117 H 269.6°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#141F61
RGBrgb(20, 31, 97)
HSLhsl(231, 66%, 23%)
HSVhsv(231, 79%, 38%)
CMYKcmyk(79.4%, 68%, 0%, 62%)
CIE-LABlab(15.44, 21.35, -40.43)
CIE-LCHlch(15.44, 45.72, 297.83°)
OKLaboklab(27.95% -0.0007 -0.1169)
OKLCHoklch(27.95% 0.117 269.6)
XYZxyz(2.9354, 1.9914, 11.5366)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F61 #615614
analogous
#144561 #141F61 #301461
triadic
#141F61 #61141F #1F6114
tetradic
#141F61 #611445 #615614 #146130
square
#141F61 #611445 #615614 #146130
split-complementary
#141F61 #613014 #456114
monochromatic
#050819 #0A0F2E #141F61 #1E2F94 #293FC6

Accessibility & contrast

On white

15.02
#141F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#141F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F61
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F61#FFFFFF#000000##FFFFFF
##141F611.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002360
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #141f61;
/* rgb */ color: rgb(20, 31, 97);
/* oklch */ color: oklch(27.9% 0.117 269.6);
Tailwind
colors: {
  custom: {
    50: '#5f5a8f',
    500: '#141f61',
    950: '#000000',
  },
}
SCSS
$custom: #141f61;
$custom-light: #5f5a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#141f61",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 97
  },
  "hsl": {
    "h": 231.429,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27949,
    "c": 0.11688,
    "h": 269.6
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#141F61
secondary
#988B38
accent
#D13FE9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #141F61

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

Preview Lab → · Contrast checker → · Palette generator →

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