#14257F#14257F

#14257F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.152 H 267.6°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#14257F
RGBrgb(20, 37, 127)
HSLhsl(230, 73%, 29%)
HSVhsv(230, 84%, 50%)
CMYKcmyk(84.3%, 70.9%, 0%, 50.2%)
CIE-LABlab(20.06, 29.13, -52.28)
CIE-LCHlch(20.06, 59.84, 299.13°)
OKLaboklab(32.25% -0.0062 -0.1515)
OKLCHoklch(32.25% 0.152 267.6)
XYZxyz(4.7795, 3.0036, 20.4024)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14257F #7F6E14
analogous
#145B7F #14257F #39147F
triadic
#14257F #7F1425 #257F14
tetradic
#14257F #7F145B #7F6E14 #147F39
square
#14257F #7F145B #7F6E14 #147F39
split-complementary
#14257F #7F3914 #5B7F14
monochromatic
#04081A #0C164A #14257F #1C34B4 #2F4BDE

Accessibility & contrast

On white

13.12
#14257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#14257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14257F
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14257F#FFFFFF#000000##FFFFFF
##14257F1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #14257f;
/* rgb */ color: rgb(20, 37, 127);
/* oklch */ color: oklch(32.3% 0.152 267.6);
Tailwind
colors: {
  custom: {
    50: '#675fa5',
    500: '#14257f',
    950: '#000000',
  },
}
SCSS
$custom: #14257f;
$custom-light: #675fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#14257f",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 230.467,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3225,
    "c": 0.15159,
    "h": 267.6
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#14257F
secondary
#B4A13B
accent
#D238EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #14257F

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

Preview Lab → · Contrast checker → · Palette generator →

#14257F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva