#142248#142248

#142248 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.3% C 0.073 H 266.3°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#142248
RGBrgb(20, 34, 72)
HSLhsl(224, 57%, 18%)
HSVhsv(224, 72%, 28%)
CMYKcmyk(72.2%, 52.8%, 0%, 71.8%)
CIE-LABlab(14.18, 8.65, -25.58)
CIE-LCHlch(14.18, 27.00, 288.68°)
OKLaboklab(26.32% -0.0048 -0.0732)
OKLCHoklch(26.32% 0.073 266.3)
XYZxyz(2.0298, 1.7605, 6.3625)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142248 #483A14
analogous
#143C48 #142248 #201448
triadic
#142248 #481422 #224814
tetradic
#142248 #48143C #483A14 #144820
square
#142248 #48143C #483A14 #144820
split-complementary
#142248 #482014 #3C4814
monochromatic
#070B18 #070B18 #142248 #213978 #2F4FA8

Accessibility & contrast

On white

15.53
#142248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#142248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142248
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142248#FFFFFF#000000##FFFFFF
##1422481.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2649
Deuteranopia (green-blind)
#052247
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #142248;
/* rgb */ color: rgb(20, 34, 72);
/* oklch */ color: oklch(26.3% 0.073 266.3);
Tailwind
colors: {
  custom: {
    50: '#585c7b',
    500: '#142248',
    950: '#000000',
  },
}
SCSS
$custom: #142248;
$custom-light: #585c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#142248",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 223.846,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2632,
    "c": 0.07337,
    "h": 266.3
  },
  "luminance": 0.01761
}

Semantic roles & 50–950 ramp

primary
#142248
secondary
#806D38
accent
#B748E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #142248

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

Preview Lab → · Contrast checker → · Palette generator →

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