#142264#142264

#142264 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.117 H 268.5°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#142264
RGBrgb(20, 34, 100)
HSLhsl(230, 67%, 24%)
HSVhsv(230, 80%, 39%)
CMYKcmyk(80%, 66%, 0%, 60.8%)
CIE-LABlab(16.57, 20.41, -40.57)
CIE-LCHlch(16.57, 45.42, 296.70°)
OKLaboklab(28.87% -0.003 -0.1173)
OKLCHoklch(28.87% 0.117 268.5)
XYZxyz(3.1600, 2.2125, 12.3146)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142264 #645614
analogous
#144A64 #142264 #2E1464
triadic
#142264 #641422 #226414
tetradic
#142264 #64144A #645614 #14642E
square
#142264 #64144A #645614 #14642E
split-complementary
#142264 #642E14 #4A6414
monochromatic
#05091A #0A1131 #142264 #1E3397 #2845CA

Accessibility & contrast

On white

14.56
#142264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#142264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142264
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142264#FFFFFF#000000##FFFFFF
##1422641.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142264;
/* rgb */ color: rgb(20, 34, 100);
/* oklch */ color: oklch(28.9% 0.117 268.5);
Tailwind
colors: {
  custom: {
    50: '#605c91',
    500: '#142264',
    950: '#000000',
  },
}
SCSS
$custom: #142264;
$custom-light: #605c91;
$custom-dark: #000000;
JSON
{
  "hex": "#142264",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 229.5,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28866,
    "c": 0.11731,
    "h": 268.5
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#142264
secondary
#9B8A38
accent
#CC3EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #142264

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

Preview Lab → · Contrast checker → · Palette generator →

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