#293F8F#293F8F

#293F8F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.135 H 268.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#293F8F
RGBrgb(41, 63, 143)
HSLhsl(227, 55%, 36%)
HSVhsv(227, 71%, 56%)
CMYKcmyk(71.3%, 55.9%, 0%, 43.9%)
CIE-LABlab(29.43, 20.02, -46.91)
CIE-LCHlch(29.43, 51.00, 293.12°)
OKLaboklab(39.91% -0.0045 -0.135)
OKLCHoklch(39.91% 0.135 268.1)
XYZxyz(7.6482, 6.0088, 26.7380)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F8F #8F7929
analogous
#29728F #293F8F #46298F
triadic
#293F8F #8F293F #3F8F29
tetradic
#293F8F #8F2972 #8F7929 #298F46
square
#293F8F #8F2972 #8F7929 #298F46
split-complementary
#293F8F #8F4629 #728F29
monochromatic
#0E1530 #1B2A5F #293F8F #3754BF #6179D2

Accessibility & contrast

On white

9.54
#293F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#293F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293F8F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F8F#FFFFFF#000000##FFFFFF
##293F8F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #293f8f;
/* rgb */ color: rgb(41, 63, 143);
/* oklch */ color: oklch(39.9% 0.135 268.1);
Tailwind
colors: {
  custom: {
    50: '#7073b0',
    500: '#293f8f',
    950: '#000000',
  },
}
SCSS
$custom: #293f8f;
$custom-light: #7073b0;
$custom-dark: #000000;
JSON
{
  "hex": "#293f8f",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 143
  },
  "hsl": {
    "h": 227.059,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39914,
    "c": 0.13506,
    "h": 268.1
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#293F8F
secondary
#B7A45C
accent
#BE49DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #293F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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