#293157#293157

#293157 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.068 H 273.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#293157
RGBrgb(41, 49, 87)
HSLhsl(230, 36%, 25%)
HSVhsv(230, 53%, 34%)
CMYKcmyk(52.9%, 43.7%, 0%, 65.9%)
CIE-LABlab(21.42, 8.67, -24.09)
CIE-LCHlch(21.42, 25.60, 289.80°)
OKLaboklab(32.57% 0.0037 -0.0681)
OKLCHoklch(32.57% 0.068 273.1)
XYZxyz(3.7325, 3.3559, 9.4661)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293157 #574F29
analogous
#294857 #293157 #382957
triadic
#293157 #572931 #315729
tetradic
#293157 #572948 #574F29 #295738
square
#293157 #572948 #574F29 #295738
split-complementary
#293157 #573829 #485729
monochromatic
#0A0C15 #151A2D #293157 #3D4881 #5060AA

Accessibility & contrast

On white

12.57
#293157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293157
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293157#FFFFFF#000000##FFFFFF
##2931571.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223558
Deuteranopia (green-blind)
#1E3256
Tritanopia (blue-blind)
#17393F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #293157;
/* rgb */ color: rgb(41, 49, 87);
/* oklch */ color: oklch(32.6% 0.068 273.1);
Tailwind
colors: {
  custom: {
    50: '#666886',
    500: '#293157',
    950: '#000000',
  },
}
SCSS
$custom: #293157;
$custom-light: #666886;
$custom-dark: #000000;
JSON
{
  "hex": "#293157",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 87
  },
  "hsl": {
    "h": 229.565,
    "s": 35.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32574,
    "c": 0.06823,
    "h": 273.1
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#293157
secondary
#8A8052
accent
#B85CCC
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #293157

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

Preview Lab → · Contrast checker → · Palette generator →

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