#142250#142250

#142250 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.086 H 267.5°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#142250
RGBrgb(20, 34, 80)
HSLhsl(226, 60%, 20%)
HSVhsv(226, 75%, 31%)
CMYKcmyk(75%, 57.5%, 0%, 68.6%)
CIE-LABlab(14.80, 12.03, -30.06)
CIE-LCHlch(14.80, 32.38, 291.82°)
OKLaboklab(26.99% -0.0037 -0.0864)
OKLCHoklch(26.99% 0.086 267.5)
XYZxyz(2.3080, 1.8717, 7.8275)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142250 #504214
analogous
#144050 #142250 #241450
triadic
#142250 #501422 #225014
tetradic
#142250 #501440 #504214 #145024
square
#142250 #501440 #504214 #145024
split-complementary
#142250 #502414 #405014
monochromatic
#060A18 #080D1F #142250 #203781 #2C4CB2

Accessibility & contrast

On white

15.28
#142250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#142250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142250
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142250#FFFFFF#000000##FFFFFF
##1422501.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052852
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #142250;
/* rgb */ color: rgb(20, 34, 80);
/* oklch */ color: oklch(27.0% 0.086 267.5);
Tailwind
colors: {
  custom: {
    50: '#5a5c81',
    500: '#142250',
    950: '#000000',
  },
}
SCSS
$custom: #142250;
$custom-light: #5a5c81;
$custom-dark: #000000;
JSON
{
  "hex": "#142250",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 80
  },
  "hsl": {
    "h": 226,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26993,
    "c": 0.08646,
    "h": 267.5
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#142250
secondary
#887538
accent
#BE45E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #142250

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

Preview Lab → · Contrast checker → · Palette generator →

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