#20268F#20268F

#20268F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.168 H 271.2°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#20268F
RGBrgb(32, 38, 143)
HSLhsl(237, 63%, 34%)
HSVhsv(237, 78%, 56%)
CMYKcmyk(77.6%, 73.4%, 0%, 43.9%)
CIE-LABlab(22.57, 35.51, -58.15)
CIE-LCHlch(22.57, 68.14, 301.41°)
OKLaboklab(34.73% 0.0036 -0.1683)
OKLCHoklch(34.73% 0.168 271.2)
XYZxyz(6.2450, 3.6758, 26.3616)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20268F #8F8920
analogous
#205E8F #20268F #52208F
triadic
#20268F #8F2026 #268F20
tetradic
#20268F #8F205E #8F8920 #208F52
square
#20268F #8F205E #8F8920 #208F52
split-complementary
#20268F #8F5220 #5E8F20
monochromatic
#0A0B2B #15195D #20268F #2B33C1 #5159D8

Accessibility & contrast

On white

12.10
#20268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#20268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20268F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20268F#FFFFFF#000000##FFFFFF
##20268F1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #20268f;
/* rgb */ color: rgb(32, 38, 143);
/* oklch */ color: oklch(34.7% 0.168 271.2);
Tailwind
colors: {
  custom: {
    50: '#6f61b1',
    500: '#20268f',
    950: '#000000',
  },
}
SCSS
$custom: #20268f;
$custom-light: #6f61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#20268f",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 236.757,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34729,
    "c": 0.16839,
    "h": 271.2
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#20268F
secondary
#BBB64F
accent
#DE41E6
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #20268F

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

Preview Lab → · Contrast checker → · Palette generator →

#20268F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva