#141A7B#141A7B

#141A7B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.158 H 269.5°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#141A7B
RGBrgb(20, 26, 123)
HSLhsl(237, 72%, 28%)
HSVhsv(237, 84%, 48%)
CMYKcmyk(83.7%, 78.9%, 0%, 51.8%)
CIE-LABlab(17.07, 34.67, -54.66)
CIE-LCHlch(17.07, 64.73, 302.38°)
OKLaboklab(29.97% -0.0013 -0.1584)
OKLCHoklch(29.97% 0.158 269.5)
XYZxyz(4.2318, 2.3171, 18.9593)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141A7B #7B7514
analogous
#144D7B #141A7B #41147B
triadic
#141A7B #7B141A #1A7B14
tetradic
#141A7B #7B144D #7B7514 #147B41
square
#141A7B #7B144D #7B7514 #147B41
split-complementary
#141A7B #7B4114 #4D7B14
monochromatic
#04061A #0B0F46 #141A7B #1D25B0 #2D37DD

Accessibility & contrast

On white

14.35
#141A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#141A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141A7B
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141A7B#FFFFFF#000000##FFFFFF
##141A7B1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #141a7b;
/* rgb */ color: rgb(20, 26, 123);
/* oklch */ color: oklch(30.0% 0.158 269.5);
Tailwind
colors: {
  custom: {
    50: '#6758a2',
    500: '#141a7b',
    950: '#000000',
  },
}
SCSS
$custom: #141a7b;
$custom-light: #6758a2;
$custom-dark: #000000;
JSON
{
  "hex": "#141a7b",
  "rgb": {
    "r": 20,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 236.505,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29973,
    "c": 0.15837,
    "h": 269.5
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#141A7B
secondary
#B1AA3A
accent
#E439EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #141A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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