#293999#293999

#293999 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.157 H 270.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#293999
RGBrgb(41, 57, 153)
HSLhsl(231, 58%, 38%)
HSVhsv(231, 73%, 60%)
CMYKcmyk(73.2%, 62.7%, 0%, 40%)
CIE-LABlab(28.63, 27.87, -54.34)
CIE-LCHlch(28.63, 61.07, 297.16°)
OKLaboklab(39.57% 0.0006 -0.1569)
OKLCHoklch(39.57% 0.157 270.2)
XYZxyz(8.1254, 5.6967, 30.8022)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293999 #998929
analogous
#297199 #293999 #512999
triadic
#293999 #992939 #399929
tetradic
#293999 #992971 #998929 #299951
square
#293999 #992971 #998929 #299951
split-complementary
#293999 #995129 #719929
monochromatic
#0F1538 #1C2769 #293999 #364BC9 #6676D6

Accessibility & contrast

On white

9.81
#293999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#293999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293999
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293999#FFFFFF#000000##FFFFFF
##2939991.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #293999;
/* rgb */ color: rgb(41, 57, 153);
/* oklch */ color: oklch(39.6% 0.157 270.2);
Tailwind
colors: {
  custom: {
    50: '#736fb8',
    500: '#293999',
    950: '#000000',
  },
}
SCSS
$custom: #293999;
$custom-light: #736fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#293999",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 153
  },
  "hsl": {
    "h": 231.429,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39571,
    "c": 0.1569,
    "h": 270.2
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#293999
secondary
#BCAF62
accent
#CB47E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293999

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

Preview Lab → · Contrast checker → · Palette generator →

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