#293F99#293F99

#293F99 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.149 H 268.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#293F99
RGBrgb(41, 63, 153)
HSLhsl(228, 58%, 38%)
HSVhsv(228, 73%, 60%)
CMYKcmyk(73.2%, 58.8%, 0%, 40%)
CIE-LABlab(30.22, 23.84, -51.75)
CIE-LCHlch(30.22, 56.98, 294.74°)
OKLaboklab(40.75% -0.004 -0.1492)
OKLCHoklch(40.75% 0.149 268.5)
XYZxyz(8.4397, 6.3255, 30.9070)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F99 #998329
analogous
#297799 #293F99 #4B2999
triadic
#293F99 #99293F #3F9929
tetradic
#293F99 #992977 #998329 #29994B
square
#293F99 #992977 #998329 #29994B
split-complementary
#293F99 #994B29 #779929
monochromatic
#0F1738 #1C2B69 #293F99 #3653C9 #667CD6

Accessibility & contrast

On white

9.27
#293F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#293F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293F99
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F99#FFFFFF#000000##FFFFFF
##293F991.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #293f99;
/* rgb */ color: rgb(41, 63, 153);
/* oklch */ color: oklch(40.7% 0.149 268.5);
Tailwind
colors: {
  custom: {
    50: '#7373b8',
    500: '#293f99',
    950: '#000000',
  },
}
SCSS
$custom: #293f99;
$custom-light: #7373b8;
$custom-dark: #000000;
JSON
{
  "hex": "#293f99",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 228.214,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40749,
    "c": 0.14929,
    "h": 268.5
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#293F99
secondary
#BCAA62
accent
#C347E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #293F99

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

Preview Lab → · Contrast checker → · Palette generator →

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