#141E58#141E58

#141E58 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.105 H 270.2°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#141E58
RGBrgb(20, 30, 88)
HSLhsl(231, 63%, 21%)
HSVhsv(231, 77%, 35%)
CMYKcmyk(77.3%, 65.9%, 0%, 65.5%)
CIE-LABlab(14.30, 18.38, -36.29)
CIE-LCHlch(14.30, 40.68, 296.86°)
OKLaboklab(26.84% 0.0003 -0.1047)
OKLCHoklch(26.84% 0.105 270.2)
XYZxyz(2.5136, 1.7816, 9.4420)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141E58 #584E14
analogous
#144058 #141E58 #2C1458
triadic
#141E58 #58141E #1E5814
tetradic
#141E58 #581440 #584E14 #14582C
square
#141E58 #581440 #584E14 #14582C
split-complementary
#141E58 #582C14 #405814
monochromatic
#060919 #090D26 #141E58 #1F2F8A #2B40BC

Accessibility & contrast

On white

15.48
#141E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#141E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141E58
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141E58#FFFFFF#000000##FFFFFF
##141E581.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002157
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #141e58;
/* rgb */ color: rgb(20, 30, 88);
/* oklch */ color: oklch(26.8% 0.105 270.2);
Tailwind
colors: {
  custom: {
    50: '#5d5988',
    500: '#141e58',
    950: '#000000',
  },
}
SCSS
$custom: #141e58;
$custom-light: #5d5988;
$custom-dark: #000000;
JSON
{
  "hex": "#141e58",
  "rgb": {
    "r": 20,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 231.176,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26836,
    "c": 0.10475,
    "h": 270.2
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#141E58
secondary
#908338
accent
#CE42E6
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #141E58

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

Preview Lab → · Contrast checker → · Palette generator →

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