#20264F#20264F

#20264F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.075 H 274.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#20264F
RGBrgb(32, 38, 79)
HSLhsl(232, 42%, 22%)
HSVhsv(232, 59%, 31%)
CMYKcmyk(59.5%, 51.9%, 0%, 69%)
CIE-LABlab(16.78, 11.24, -26.14)
CIE-LCHlch(16.78, 28.46, 293.27°)
OKLaboklab(28.69% 0.0058 -0.0745)
OKLCHoklch(28.69% 0.075 274.4)
XYZxyz(2.6996, 2.2576, 7.6891)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20264F #4F4920
analogous
#203E4F #20264F #32204F
triadic
#20264F #4F2026 #264F20
tetradic
#20264F #4F203E #4F4920 #204F32
square
#20264F #4F203E #4F4920 #204F32
split-complementary
#20264F #4F3220 #3E4F20
monochromatic
#090A16 #0E1123 #20264F #323B7B #4350A6

Accessibility & contrast

On white

14.47
#20264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#20264F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20264F
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20264F#FFFFFF#000000##FFFFFF
##20264F1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B51
Deuteranopia (green-blind)
#0D284E
Tritanopia (blue-blind)
#092F36
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #20264f;
/* rgb */ color: rgb(32, 38, 79);
/* oklch */ color: oklch(28.7% 0.075 274.4);
Tailwind
colors: {
  custom: {
    50: '#606080',
    500: '#20264f',
    950: '#000000',
  },
}
SCSS
$custom: #20264f;
$custom-light: #606080;
$custom-dark: #000000;
JSON
{
  "hex": "#20264f",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 232.34,
    "s": 42.342,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28689,
    "c": 0.0747,
    "h": 274.4
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#20264F
secondary
#837C47
accent
#C256D2
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05040A
muted
#79797C

Preview Lab

Preview with #20264F

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

Preview Lab → · Contrast checker → · Palette generator →

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