#142B5F#142B5F

#142B5F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.097 H 263.7°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#142B5F
RGBrgb(20, 43, 95)
HSLhsl(222, 65%, 23%)
HSVhsv(222, 79%, 37%)
CMYKcmyk(78.9%, 54.7%, 0%, 62.7%)
CIE-LABlab(18.81, 11.70, -33.63)
CIE-LCHlch(18.81, 35.60, 289.18°)
OKLaboklab(30.42% -0.0107 -0.0967)
OKLCHoklch(30.42% 0.097 263.7)
XYZxyz(3.2172, 2.7023, 11.1763)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B5F #5F4814
analogous
#14505F #142B5F #23145F
triadic
#142B5F #5F142B #2B5F14
tetradic
#142B5F #5F1450 #5F4814 #145F23
square
#142B5F #5F1450 #5F4814 #145F23
split-complementary
#142B5F #5F2314 #505F14
monochromatic
#050B19 #09142C #142B5F #1F4292 #2959C4

Accessibility & contrast

On white

13.63
#142B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#142B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B5F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B5F#FFFFFF#000000##FFFFFF
##142B5F1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3161
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142b5f;
/* rgb */ color: rgb(20, 43, 95);
/* oklch */ color: oklch(30.4% 0.097 263.7);
Tailwind
colors: {
  custom: {
    50: '#5e638d',
    500: '#142b5f',
    950: '#000000',
  },
}
SCSS
$custom: #142b5f;
$custom-light: #5e638d;
$custom-dark: #000000;
JSON
{
  "hex": "#142b5f",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 221.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30416,
    "c": 0.0973,
    "h": 263.7
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#142B5F
secondary
#977A38
accent
#B440E8
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142B5F

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

Preview Lab → · Contrast checker → · Palette generator →

#142B5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva