#293158#293158

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

Color values

HEX#293158
RGBrgb(41, 49, 88)
HSLhsl(230, 36%, 25%)
HSVhsv(230, 53%, 35%)
CMYKcmyk(53.4%, 44.3%, 0%, 65.5%)
CIE-LABlab(21.48, 9.03, -24.65)
CIE-LCHlch(21.48, 26.26, 290.12°)
OKLaboklab(32.64% 0.0039 -0.0698)
OKLCHoklch(32.64% 0.07 273.2)
XYZxyz(3.7737, 3.3724, 9.6827)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293158 #585029
analogous
#294858 #293158 #382958
triadic
#293158 #582931 #315829
tetradic
#293158 #582948 #585029 #295838
square
#293158 #582948 #585029 #295838
split-complementary
#293158 #583829 #485829
monochromatic
#0A0C15 #161A2E #293158 #3C4882 #505FAB

Accessibility & contrast

On white

12.54
#293158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293158
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293158#FFFFFF#000000##FFFFFF
##2931581.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22365A
Deuteranopia (green-blind)
#1D3257
Tritanopia (blue-blind)
#163940
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #293158;
/* rgb */ color: rgb(41, 49, 88);
/* oklch */ color: oklch(32.6% 0.070 273.2);
Tailwind
colors: {
  custom: {
    50: '#666887',
    500: '#293158',
    950: '#000000',
  },
}
SCSS
$custom: #293158;
$custom-light: #666887;
$custom-dark: #000000;
JSON
{
  "hex": "#293158",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 229.787,
    "s": 36.434,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32641,
    "c": 0.06989,
    "h": 273.2
  },
  "luminance": 0.03373
}

Semantic roles & 50–950 ramp

primary
#293158
secondary
#8B8152
accent
#B95BCC
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #293158

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

Preview Lab → · Contrast checker → · Palette generator →

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