#293151#293151

#293151 is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.2% C 0.058 H 272.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#293151
RGBrgb(41, 49, 81)
HSLhsl(228, 33%, 24%)
HSVhsv(228, 49%, 32%)
CMYKcmyk(49.4%, 39.5%, 0%, 68.2%)
CIE-LABlab(21.06, 6.55, -20.65)
CIE-LCHlch(21.06, 21.67, 287.59°)
OKLaboklab(32.19% 0.0022 -0.0581)
OKLCHoklch(32.19% 0.058 272.1)
XYZxyz(3.4975, 3.2619, 8.2283)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293151 #514929
analogous
#294551 #293151 #352951
triadic
#293151 #512931 #315129
tetradic
#293151 #512945 #514929 #295135
square
#293151 #512945 #514929 #295135
split-complementary
#293151 #513529 #455129
monochromatic
#0A0C14 #141828 #293151 #3E4A7A #5262A2

Accessibility & contrast

On white

12.71
#293151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#293151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293151
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293151#FFFFFF#000000##FFFFFF
##2931511.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253452
Deuteranopia (green-blind)
#223150
Tritanopia (blue-blind)
#1B383D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #293151;
/* rgb */ color: rgb(41, 49, 81);
/* oklch */ color: oklch(32.2% 0.058 272.1);
Tailwind
colors: {
  custom: {
    50: '#656882',
    500: '#293151',
    950: '#000000',
  },
}
SCSS
$custom: #293151;
$custom-light: #656882;
$custom-dark: #000000;
JSON
{
  "hex": "#293151",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 228,
    "s": 32.787,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32188,
    "c": 0.05815,
    "h": 272.1
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#293151
secondary
#837A52
accent
#B45FC9
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #293151

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

Preview Lab → · Contrast checker → · Palette generator →

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