#141F62#141F62

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

Color values

HEX#141F62
RGBrgb(20, 31, 98)
HSLhsl(232, 66%, 23%)
HSVhsv(232, 80%, 38%)
CMYKcmyk(79.6%, 68.4%, 0%, 61.6%)
CIE-LABlab(15.54, 21.75, -40.93)
CIE-LCHlch(15.54, 46.35, 297.99°)
OKLaboklab(28.05% -0.0008 -0.1183)
OKLCHoklch(28.05% 0.118 269.6)
XYZxyz(2.9823, 2.0102, 11.7837)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F62 #625714
analogous
#144662 #141F62 #301462
triadic
#141F62 #62141F #1F6214
tetradic
#141F62 #621446 #625714 #146230
square
#141F62 #621446 #625714 #146230
split-complementary
#141F62 #623014 #466214
monochromatic
#050819 #0A0F2F #141F62 #1E2F95 #293FC8

Accessibility & contrast

On white

14.98
#141F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141F62
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F62#FFFFFF#000000##FFFFFF
##141F621.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002361
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #141f62;
/* rgb */ color: rgb(20, 31, 98);
/* oklch */ color: oklch(28.1% 0.118 269.6);
Tailwind
colors: {
  custom: {
    50: '#605a8f',
    500: '#141f62',
    950: '#000000',
  },
}
SCSS
$custom: #141f62;
$custom-light: #605a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#141f62",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 231.538,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28052,
    "c": 0.11834,
    "h": 269.6
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#141F62
secondary
#998C38
accent
#D13FE9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #141F62

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

Preview Lab → · Contrast checker → · Palette generator →

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