#293F89#293F89

#293F89 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.126 H 267.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#293F89
RGBrgb(41, 63, 137)
HSLhsl(226, 54%, 35%)
HSVhsv(226, 70%, 54%)
CMYKcmyk(70.1%, 54%, 0%, 46.3%)
CIE-LABlab(28.98, 17.72, -43.93)
CIE-LCHlch(28.98, 47.37, 291.96°)
OKLaboklab(39.43% -0.005 -0.1262)
OKLCHoklch(39.43% 0.126 267.8)
XYZxyz(7.2058, 5.8319, 24.4080)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F89 #897329
analogous
#296F89 #293F89 #432989
triadic
#293F89 #89293F #3F8929
tetradic
#293F89 #89296F #897329 #298943
square
#293F89 #89296F #897329 #298943
split-complementary
#293F89 #894329 #6F8929
monochromatic
#0D142B #1B295A #293F89 #3755B8 #5E78CF

Accessibility & contrast

On white

9.69
#293F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#293F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293F89
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F89#FFFFFF#000000##FFFFFF
##293F891.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E498C
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #293f89;
/* rgb */ color: rgb(41, 63, 137);
/* oklch */ color: oklch(39.4% 0.126 267.8);
Tailwind
colors: {
  custom: {
    50: '#6f73ac',
    500: '#293f89',
    950: '#000000',
  },
}
SCSS
$custom: #293f89;
$custom-light: #6f73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#293f89",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 226.25,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39431,
    "c": 0.12635,
    "h": 267.8
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#293F89
secondary
#B49F5A
accent
#BC4ADD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #293F89

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

Preview Lab → · Contrast checker → · Palette generator →

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