#142265#142265

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

Color values

HEX#142265
RGBrgb(20, 34, 101)
HSLhsl(230, 67%, 24%)
HSVhsv(230, 80%, 40%)
CMYKcmyk(80.2%, 66.3%, 0%, 60.4%)
CIE-LABlab(16.66, 20.82, -41.08)
CIE-LCHlch(16.66, 46.05, 296.88°)
OKLaboklab(28.97% -0.003 -0.1187)
OKLCHoklch(28.97% 0.119 268.5)
XYZxyz(3.2087, 2.2320, 12.5711)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142265 #655714
analogous
#144A65 #142265 #2E1465
triadic
#142265 #651422 #226514
tetradic
#142265 #65144A #655714 #14652E
square
#142265 #65144A #655714 #14652E
split-complementary
#142265 #652E14 #4A6514
monochromatic
#05091A #0A1132 #142265 #1E3398 #2844CB

Accessibility & contrast

On white

14.52
#142265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#142265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142265
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142265#FFFFFF#000000##FFFFFF
##1422651.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142265;
/* rgb */ color: rgb(20, 34, 101);
/* oklch */ color: oklch(29.0% 0.119 268.5);
Tailwind
colors: {
  custom: {
    50: '#605c92',
    500: '#142265',
    950: '#000000',
  },
}
SCSS
$custom: #142265;
$custom-light: #605c92;
$custom-dark: #000000;
JSON
{
  "hex": "#142265",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 229.63,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28966,
    "c": 0.11878,
    "h": 268.5
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#142265
secondary
#9C8B39
accent
#CC3EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #142265

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

Preview Lab → · Contrast checker → · Palette generator →

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