#14226B#14226B

#14226B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.6% C 0.127 H 268.5°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#14226B
RGBrgb(20, 34, 107)
HSLhsl(230, 69%, 25%)
HSVhsv(230, 81%, 42%)
CMYKcmyk(81.3%, 68.2%, 0%, 58%)
CIE-LABlab(17.24, 23.26, -44.05)
CIE-LCHlch(17.24, 49.81, 297.84°)
OKLaboklab(29.58% -0.0032 -0.1274)
OKLCHoklch(29.58% 0.127 268.5)
XYZxyz(3.5134, 2.3539, 14.1762)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14226B #6B5D14
analogous
#144D6B #14226B #32146B
triadic
#14226B #6B1422 #226B14
tetradic
#14226B #6B144D #6B5D14 #146B32
square
#14226B #6B144D #6B5D14 #146B32
split-complementary
#14226B #6B3214 #4D6B14
monochromatic
#05081A #0A1237 #14226B #1E329F #2743D2

Accessibility & contrast

On white

14.28
#14226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#14226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14226B
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14226B#FFFFFF#000000##FFFFFF
##14226B1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#00266A
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #14226b;
/* rgb */ color: rgb(20, 34, 107);
/* oklch */ color: oklch(29.6% 0.127 268.5);
Tailwind
colors: {
  custom: {
    50: '#625d96',
    500: '#14226b',
    950: '#000000',
  },
}
SCSS
$custom: #14226b;
$custom-light: #625d96;
$custom-dark: #000000;
JSON
{
  "hex": "#14226b",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 230.345,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29576,
    "c": 0.12749,
    "h": 268.5
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#14226B
secondary
#A29139
accent
#CF3CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #14226B

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

Preview Lab → · Contrast checker → · Palette generator →

#14226B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva