#293252#293252

#293252 is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.5% C 0.058 H 271.0°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#293252
RGBrgb(41, 50, 82)
HSLhsl(227, 33%, 24%)
HSVhsv(227, 50%, 32%)
CMYKcmyk(50%, 39%, 0%, 67.8%)
CIE-LABlab(21.44, 6.20, -20.73)
CIE-LCHlch(21.44, 21.64, 286.64°)
OKLaboklab(32.5% 0.001 -0.0583)
OKLCHoklch(32.5% 0.058 271)
XYZxyz(3.5776, 3.3616, 8.4414)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293252 #524929
analogous
#294752 #293252 #352952
triadic
#293252 #522932 #325229
tetradic
#293252 #522947 #524929 #295235
square
#293252 #522947 #524929 #295235
split-complementary
#293252 #523529 #475229
monochromatic
#0A0C14 #151929 #293252 #3D4B7B #5264A4

Accessibility & contrast

On white

12.56
#293252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#293252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293252
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293252#FFFFFF#000000##FFFFFF
##2932521.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263553
Deuteranopia (green-blind)
#223251
Tritanopia (blue-blind)
#1A393E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #293252;
/* rgb */ color: rgb(41, 50, 82);
/* oklch */ color: oklch(32.5% 0.058 271.0);
Tailwind
colors: {
  custom: {
    50: '#656983',
    500: '#293252',
    950: '#000000',
  },
}
SCSS
$custom: #293252;
$custom-light: #656983;
$custom-dark: #000000;
JSON
{
  "hex": "#293252",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 82
  },
  "hsl": {
    "h": 226.829,
    "s": 33.333,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32495,
    "c": 0.05835,
    "h": 271
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#293252
secondary
#847952
accent
#B25EC9
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #293252

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

Preview Lab → · Contrast checker → · Palette generator →

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