#293E8F#293E8F

#293E8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.136 H 268.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#293E8F
RGBrgb(41, 62, 143)
HSLhsl(228, 55%, 36%)
HSVhsv(228, 71%, 56%)
CMYKcmyk(71.3%, 56.6%, 0%, 43.9%)
CIE-LABlab(29.16, 20.70, -47.36)
CIE-LCHlch(29.16, 51.69, 293.61°)
OKLaboklab(39.71% -0.0036 -0.1363)
OKLCHoklch(39.71% 0.136 268.5)
XYZxyz(7.5933, 5.8991, 26.7197)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293E8F #8F7A29
analogous
#29718F #293E8F #47298F
triadic
#293E8F #8F293E #3E8F29
tetradic
#293E8F #8F2971 #8F7A29 #298F47
square
#293E8F #8F2971 #8F7A29 #298F47
split-complementary
#293E8F #8F4729 #718F29
monochromatic
#0E1530 #1B295F #293E8F #3753BF #6178D2

Accessibility & contrast

On white

9.63
#293E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#293E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293E8F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293E8F#FFFFFF#000000##FFFFFF
##293E8F1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #293e8f;
/* rgb */ color: rgb(41, 62, 143);
/* oklch */ color: oklch(39.7% 0.136 268.5);
Tailwind
colors: {
  custom: {
    50: '#7072b0',
    500: '#293e8f',
    950: '#000000',
  },
}
SCSS
$custom: #293e8f;
$custom-light: #7072b0;
$custom-dark: #000000;
JSON
{
  "hex": "#293e8f",
  "rgb": {
    "r": 41,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 227.647,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39705,
    "c": 0.13639,
    "h": 268.5
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#293E8F
secondary
#B7A55C
accent
#C049DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #293E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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