#14197B#14197B

#14197B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.159 H 269.6°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#14197B
RGBrgb(20, 25, 123)
HSLhsl(237, 72%, 28%)
HSVhsv(237, 84%, 48%)
CMYKcmyk(83.7%, 79.7%, 0%, 51.8%)
CIE-LABlab(16.86, 35.26, -55.01)
CIE-LCHlch(16.86, 65.34, 302.66°)
OKLaboklab(29.83% -0.001 -0.1593)
OKLCHoklch(29.83% 0.159 269.6)
XYZxyz(4.2101, 2.2736, 18.9520)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14197B #7B7614
analogous
#144D7B #14197B #42147B
triadic
#14197B #7B1419 #197B14
tetradic
#14197B #7B144D #7B7614 #147B42
square
#14197B #7B144D #7B7614 #147B42
split-complementary
#14197B #7B4214 #4D7B14
monochromatic
#04051A #0B0E46 #14197B #1D24B0 #2D35DD

Accessibility & contrast

On white

14.43
#14197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#14197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14197B
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14197B#FFFFFF#000000##FFFFFF
##14197B1.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #14197b;
/* rgb */ color: rgb(20, 25, 123);
/* oklch */ color: oklch(29.8% 0.159 269.6);
Tailwind
colors: {
  custom: {
    50: '#6757a2',
    500: '#14197b',
    950: '#000000',
  },
}
SCSS
$custom: #14197b;
$custom-light: #6757a2;
$custom-dark: #000000;
JSON
{
  "hex": "#14197b",
  "rgb": {
    "r": 20,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 237.087,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29826,
    "c": 0.15935,
    "h": 269.6
  },
  "luminance": 0.02274
}

Semantic roles & 50–950 ramp

primary
#14197B
secondary
#B1AB3A
accent
#E639EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #14197B

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

Preview Lab → · Contrast checker → · Palette generator →

#14197B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva