#141F7B#141F7B

#141F7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.153 H 268.8°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#141F7B
RGBrgb(20, 31, 123)
HSLhsl(234, 72%, 28%)
HSVhsv(234, 84%, 48%)
CMYKcmyk(83.7%, 74.8%, 0%, 51.8%)
CIE-LABlab(18.18, 31.56, -52.83)
CIE-LCHlch(18.18, 61.54, 300.85°)
OKLaboklab(30.76% -0.0032 -0.1531)
OKLCHoklch(30.76% 0.153 268.8)
XYZxyz(4.3524, 2.5582, 18.9995)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F7B #7B7014
analogous
#14527B #141F7B #3C147B
triadic
#141F7B #7B141F #1F7B14
tetradic
#141F7B #7B1452 #7B7014 #147B3C
square
#141F7B #7B1452 #7B7014 #147B3C
split-complementary
#141F7B #7B3C14 #527B14
monochromatic
#04071A #0B1246 #141F7B #1D2CB0 #2D3FDD

Accessibility & contrast

On white

13.89
#141F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#141F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F7B
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F7B#FFFFFF#000000##FFFFFF
##141F7B1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #141f7b;
/* rgb */ color: rgb(20, 31, 123);
/* oklch */ color: oklch(30.8% 0.153 268.8);
Tailwind
colors: {
  custom: {
    50: '#675ba2',
    500: '#141f7b',
    950: '#000000',
  },
}
SCSS
$custom: #141f7b;
$custom-light: #675ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#141f7b",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 233.592,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30764,
    "c": 0.1531,
    "h": 268.8
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#141F7B
secondary
#B1A43A
accent
#DB39EF
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #141F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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