#142260#142260

#142260 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.111 H 268.5°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#142260
RGBrgb(20, 34, 96)
HSLhsl(229, 66%, 23%)
HSVhsv(229, 79%, 38%)
CMYKcmyk(79.2%, 64.6%, 0%, 62.4%)
CIE-LABlab(16.19, 18.75, -38.54)
CIE-LCHlch(16.19, 42.86, 295.95°)
OKLaboklab(28.47% -0.0029 -0.1113)
OKLCHoklch(28.47% 0.111 268.5)
XYZxyz(2.9711, 2.1370, 11.3200)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142260 #605214
analogous
#144860 #142260 #2C1460
triadic
#142260 #601422 #226014
tetradic
#142260 #601448 #605214 #14602C
square
#142260 #601448 #605214 #14602C
split-complementary
#142260 #602C14 #486014
monochromatic
#050919 #09102D #142260 #1F3493 #2946C5

Accessibility & contrast

On white

14.71
#142260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#142260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142260
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142260#FFFFFF#000000##FFFFFF
##1422601.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00255F
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142260;
/* rgb */ color: rgb(20, 34, 96);
/* oklch */ color: oklch(28.5% 0.111 268.5);
Tailwind
colors: {
  custom: {
    50: '#5f5c8e',
    500: '#142260',
    950: '#000000',
  },
}
SCSS
$custom: #142260;
$custom-light: #5f5c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#142260",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 228.947,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28472,
    "c": 0.11135,
    "h": 268.5
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#142260
secondary
#988638
accent
#C93FE8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #142260

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

Preview Lab → · Contrast checker → · Palette generator →

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