#141F63#141F63

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

Color values

HEX#141F63
RGBrgb(20, 31, 99)
HSLhsl(232, 66%, 23%)
HSVhsv(232, 80%, 39%)
CMYKcmyk(79.8%, 68.7%, 0%, 61.2%)
CIE-LABlab(15.64, 22.16, -41.43)
CIE-LCHlch(15.64, 46.98, 298.14°)
OKLaboklab(28.16% -0.0008 -0.1198)
OKLCHoklch(28.16% 0.12 269.6)
XYZxyz(3.0298, 2.0292, 12.0340)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F63 #635814
analogous
#144663 #141F63 #301463
triadic
#141F63 #63141F #1F6314
tetradic
#141F63 #631446 #635814 #146330
square
#141F63 #631446 #635814 #146330
split-complementary
#141F63 #633014 #466314
monochromatic
#050819 #0A0F30 #141F63 #1E2F96 #293FC9

Accessibility & contrast

On white

14.94
#141F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#141F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F63
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F63#FFFFFF#000000##FFFFFF
##141F631.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002362
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #141f63;
/* rgb */ color: rgb(20, 31, 99);
/* oklch */ color: oklch(28.2% 0.120 269.6);
Tailwind
colors: {
  custom: {
    50: '#605a90',
    500: '#141f63',
    950: '#000000',
  },
}
SCSS
$custom: #141f63;
$custom-light: #605a90;
$custom-dark: #000000;
JSON
{
  "hex": "#141f63",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 231.646,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28155,
    "c": 0.11981,
    "h": 269.6
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#141F63
secondary
#9A8D38
accent
#D23EE9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030D
muted
#7A787D

Preview Lab

Preview with #141F63

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

Preview Lab → · Contrast checker → · Palette generator →

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