#142263#142263

#142263 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.116 H 268.5°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#142263
RGBrgb(20, 34, 99)
HSLhsl(229, 66%, 23%)
HSVhsv(229, 80%, 39%)
CMYKcmyk(79.8%, 65.7%, 0%, 61.2%)
CIE-LABlab(16.47, 20.00, -40.07)
CIE-LCHlch(16.47, 44.78, 296.52°)
OKLaboklab(28.77% -0.003 -0.1158)
OKLCHoklch(28.77% 0.116 268.5)
XYZxyz(3.1119, 2.1933, 12.0613)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142263 #635514
analogous
#144963 #142263 #2D1463
triadic
#142263 #631422 #226314
tetradic
#142263 #631449 #635514 #14632D
square
#142263 #631449 #635514 #14632D
split-complementary
#142263 #632D14 #496314
monochromatic
#050919 #0A1130 #142263 #1E3396 #2945C9

Accessibility & contrast

On white

14.60
#142263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#142263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142263
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142263#FFFFFF#000000##FFFFFF
##1422631.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142263;
/* rgb */ color: rgb(20, 34, 99);
/* oklch */ color: oklch(28.8% 0.116 268.5);
Tailwind
colors: {
  custom: {
    50: '#605c90',
    500: '#142263',
    950: '#000000',
  },
}
SCSS
$custom: #142263;
$custom-light: #605c90;
$custom-dark: #000000;
JSON
{
  "hex": "#142263",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 229.367,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28767,
    "c": 0.11583,
    "h": 268.5
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#142263
secondary
#9A8938
accent
#CB3EE9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040D
muted
#7A797D

Preview Lab

Preview with #142263

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

Preview Lab → · Contrast checker → · Palette generator →

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