#20265B#20265B

#20265B is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.7% C 0.094 H 274.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#20265B
RGBrgb(32, 38, 91)
HSLhsl(234, 48%, 24%)
HSVhsv(234, 65%, 36%)
CMYKcmyk(64.8%, 58.2%, 0%, 64.3%)
CIE-LABlab(17.68, 15.87, -32.76)
CIE-LCHlch(17.68, 36.40, 295.84°)
OKLaboklab(29.65% 0.007 -0.094)
OKLCHoklch(29.65% 0.094 274.3)
XYZxyz(3.1765, 2.4484, 10.2007)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20265B #5B5520
analogous
#20445B #20265B #38205B
triadic
#20265B #5B2026 #265B20
tetradic
#20265B #5B2044 #5B5520 #205B38
square
#20265B #5B2044 #5B5520 #205B38
split-complementary
#20265B #5B3820 #445B20
monochromatic
#080917 #10132E #20265B #303988 #404CB6

Accessibility & contrast

On white

14.10
#20265B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#20265B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20265B
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20265B#FFFFFF#000000##FFFFFF
##20265B1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042E5D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #20265b;
/* rgb */ color: rgb(32, 38, 91);
/* oklch */ color: oklch(29.7% 0.094 274.3);
Tailwind
colors: {
  custom: {
    50: '#62608a',
    500: '#20265b',
    950: '#000000',
  },
}
SCSS
$custom: #20265b;
$custom-light: #62608a;
$custom-dark: #000000;
JSON
{
  "hex": "#20265b",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 91
  },
  "hsl": {
    "h": 233.898,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29655,
    "c": 0.09421,
    "h": 274.3
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#20265B
secondary
#8F8847
accent
#CA50D8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #20265B

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

Preview Lab → · Contrast checker → · Palette generator →

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