#141F64#141F64

#141F64 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.121 H 269.6°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#141F64
RGBrgb(20, 31, 100)
HSLhsl(232, 67%, 24%)
HSVhsv(232, 80%, 39%)
CMYKcmyk(80%, 69%, 0%, 60.8%)
CIE-LABlab(15.74, 22.56, -41.92)
CIE-LCHlch(15.74, 47.61, 298.29°)
OKLaboklab(28.26% -0.0009 -0.1213)
OKLCHoklch(28.26% 0.121 269.6)
XYZxyz(3.0779, 2.0485, 12.2873)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F64 #645914
analogous
#144764 #141F64 #311464
triadic
#141F64 #64141F #1F6414
tetradic
#141F64 #641447 #645914 #146431
square
#141F64 #641447 #645914 #146431
split-complementary
#141F64 #643114 #476414
monochromatic
#05081A #0A0F31 #141F64 #1E2F97 #283FCA

Accessibility & contrast

On white

14.90
#141F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141F64
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F64#FFFFFF#000000##FFFFFF
##141F641.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #141f64;
/* rgb */ color: rgb(20, 31, 100);
/* oklch */ color: oklch(28.3% 0.121 269.6);
Tailwind
colors: {
  custom: {
    50: '#605a91',
    500: '#141f64',
    950: '#000000',
  },
}
SCSS
$custom: #141f64;
$custom-light: #605a91;
$custom-dark: #000000;
JSON
{
  "hex": "#141f64",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 231.75,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28258,
    "c": 0.12126,
    "h": 269.6
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#141F64
secondary
#9B8E38
accent
#D23EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #141F64

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

Preview Lab → · Contrast checker → · Palette generator →

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