#142267#142267

#142267 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.2% C 0.122 H 268.5°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#142267
RGBrgb(20, 34, 103)
HSLhsl(230, 67%, 24%)
HSVhsv(230, 81%, 40%)
CMYKcmyk(80.6%, 67%, 0%, 59.6%)
CIE-LABlab(16.85, 21.64, -42.07)
CIE-LCHlch(16.85, 47.31, 297.22°)
OKLaboklab(29.17% -0.0031 -0.1217)
OKLCHoklch(29.17% 0.122 268.5)
XYZxyz(3.3079, 2.2717, 13.0935)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142267 #675914
analogous
#144C67 #142267 #301467
triadic
#142267 #671422 #226714
tetradic
#142267 #67144C #675914 #146730
square
#142267 #67144C #675914 #146730
split-complementary
#142267 #673014 #4C6714
monochromatic
#05081A #0A1134 #142267 #1E339A #2844CD

Accessibility & contrast

On white

14.44
#142267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#142267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142267
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142267#FFFFFF#000000##FFFFFF
##1422671.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002666
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #142267;
/* rgb */ color: rgb(20, 34, 103);
/* oklch */ color: oklch(29.2% 0.122 268.5);
Tailwind
colors: {
  custom: {
    50: '#615c93',
    500: '#142267',
    950: '#000000',
  },
}
SCSS
$custom: #142267;
$custom-light: #615c93;
$custom-dark: #000000;
JSON
{
  "hex": "#142267",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 229.88,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29167,
    "c": 0.12171,
    "h": 268.5
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#142267
secondary
#9E8D39
accent
#CD3DEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #142267

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

Preview Lab → · Contrast checker → · Palette generator →

#142267 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva