#142268#142268

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

Color values

HEX#142268
RGBrgb(20, 34, 104)
HSLhsl(230, 68%, 24%)
HSVhsv(230, 81%, 41%)
CMYKcmyk(80.8%, 67.3%, 0%, 59.2%)
CIE-LABlab(16.95, 22.04, -42.57)
CIE-LCHlch(16.95, 47.94, 297.38°)
OKLaboklab(29.27% -0.0031 -0.1231)
OKLCHoklch(29.27% 0.123 268.5)
XYZxyz(3.3583, 2.2919, 13.3594)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142268 #685A14
analogous
#144C68 #142268 #301468
triadic
#142268 #681422 #226814
tetradic
#142268 #68144C #685A14 #146830
square
#142268 #68144C #685A14 #146830
split-complementary
#142268 #683014 #4C6814
monochromatic
#05081A #0A1135 #142268 #1E339B #2844CF

Accessibility & contrast

On white

14.40
#142268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#142268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142268
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142268#FFFFFF#000000##FFFFFF
##1422681.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142268;
/* rgb */ color: rgb(20, 34, 104);
/* oklch */ color: oklch(29.3% 0.123 268.5);
Tailwind
colors: {
  custom: {
    50: '#615d94',
    500: '#142268',
    950: '#000000',
  },
}
SCSS
$custom: #142268;
$custom-light: #615d94;
$custom-dark: #000000;
JSON
{
  "hex": "#142268",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 230,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29269,
    "c": 0.12316,
    "h": 268.5
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#142268
secondary
#9F8E39
accent
#CE3DEB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #142268

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

Preview Lab → · Contrast checker → · Palette generator →

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