#293A8A#293A8A

#293A8A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.134 H 269.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#293A8A
RGBrgb(41, 58, 138)
HSLhsl(229, 54%, 35%)
HSVhsv(229, 70%, 54%)
CMYKcmyk(70.3%, 58%, 0%, 45.9%)
CIE-LABlab(27.66, 21.53, -46.70)
CIE-LCHlch(27.66, 51.42, 294.75°)
OKLaboklab(38.46% -0.0003 -0.1344)
OKLCHoklch(38.46% 0.134 269.9)
XYZxyz(7.0134, 5.3318, 24.6994)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293A8A #8A7929
analogous
#296A8A #293A8A #49298A
triadic
#293A8A #8A293A #3A8A29
tetradic
#293A8A #8A296A #8A7929 #298A49
square
#293A8A #8A296A #8A7929 #298A49
split-complementary
#293A8A #8A4929 #6A8A29
monochromatic
#0D122C #1B265B #293A8A #374EB9 #5E72CF

Accessibility & contrast

On white

10.16
#293A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#293A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293A8A
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293A8A#FFFFFF#000000##FFFFFF
##293A8A1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #293a8a;
/* rgb */ color: rgb(41, 58, 138);
/* oklch */ color: oklch(38.5% 0.134 269.9);
Tailwind
colors: {
  custom: {
    50: '#706fad',
    500: '#293a8a',
    950: '#000000',
  },
}
SCSS
$custom: #293a8a;
$custom-light: #706fad;
$custom-dark: #000000;
JSON
{
  "hex": "#293a8a",
  "rgb": {
    "r": 41,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 229.485,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38459,
    "c": 0.13445,
    "h": 269.9
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#293A8A
secondary
#B5A55A
accent
#C44ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#293A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva