#141262#141262

#141262 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.134 H 272.9°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#141262
RGBrgb(20, 18, 98)
HSLhsl(242, 69%, 23%)
HSVhsv(242, 82%, 38%)
CMYKcmyk(79.6%, 81.6%, 0%, 61.6%)
CIE-LABlab(12.37, 30.44, -46.15)
CIE-LCHlch(12.37, 55.28, 303.41°)
OKLaboklab(25.77% 0.0067 -0.1335)
OKLCHoklch(25.77% 0.134 272.9)
XYZxyz(2.7087, 1.4629, 11.6925)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141262 #606212
analogous
#123862 #141262 #3C1262
triadic
#141262 #621412 #126214
tetradic
#141262 #621238 #606212 #12623C
square
#141262 #621238 #606212 #12623C
split-complementary
#141262 #623C12 #386212
monochromatic
#05051A #09092E #141262 #1F1B96 #2925C9

Accessibility & contrast

On white

16.25
#141262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#141262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141262
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141262#FFFFFF#000000##FFFFFF
##1412621.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002464
Deuteranopia (green-blind)
#001C61
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #141262;
/* rgb */ color: rgb(20, 18, 98);
/* oklch */ color: oklch(25.8% 0.134 272.9);
Tailwind
colors: {
  custom: {
    50: '#615190',
    500: '#141262',
    950: '#000000',
  },
}
SCSS
$custom: #141262;
$custom-light: #615190;
$custom-dark: #000000;
JSON
{
  "hex": "#141262",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 241.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.25769,
    "c": 0.13372,
    "h": 272.9
  },
  "luminance": 0.01463
}

Semantic roles & 50–950 ramp

primary
#141262
secondary
#989A36
accent
#EC3CE7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #141262

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

Preview Lab → · Contrast checker → · Palette generator →

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