#141B7B#141B7B

#141B7B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.157 H 269.4°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#141B7B
RGBrgb(20, 27, 123)
HSLhsl(236, 72%, 28%)
HSVhsv(236, 84%, 48%)
CMYKcmyk(83.7%, 78%, 0%, 51.8%)
CIE-LABlab(17.28, 34.07, -54.31)
CIE-LCHlch(17.28, 64.11, 302.10°)
OKLaboklab(30.12% -0.0017 -0.1573)
OKLCHoklch(30.12% 0.157 269.4)
XYZxyz(4.2544, 2.3622, 18.9668)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141B7B #7B7414
analogous
#144E7B #141B7B #40147B
triadic
#141B7B #7B141B #1B7B14
tetradic
#141B7B #7B144E #7B7414 #147B40
square
#141B7B #7B144E #7B7414 #147B40
split-complementary
#141B7B #7B4014 #4E7B14
monochromatic
#04061A #0B0F46 #141B7B #1D27B0 #2D39DD

Accessibility & contrast

On white

14.26
#141B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#141B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141B7B
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141B7B#FFFFFF#000000##FFFFFF
##141B7B1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #141b7b;
/* rgb */ color: rgb(20, 27, 123);
/* oklch */ color: oklch(30.1% 0.157 269.4);
Tailwind
colors: {
  custom: {
    50: '#6758a2',
    500: '#141b7b',
    950: '#000000',
  },
}
SCSS
$custom: #141b7b;
$custom-light: #6758a2;
$custom-dark: #000000;
JSON
{
  "hex": "#141b7b",
  "rgb": {
    "r": 20,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 235.922,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30124,
    "c": 0.15736,
    "h": 269.4
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#141B7B
secondary
#B1A93A
accent
#E239EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #141B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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