#293F8E#293F8E

#293F8E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.134 H 268.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#293F8E
RGBrgb(41, 63, 142)
HSLhsl(227, 55%, 36%)
HSVhsv(227, 71%, 56%)
CMYKcmyk(71.1%, 55.6%, 0%, 44.3%)
CIE-LABlab(29.36, 19.64, -46.41)
CIE-LCHlch(29.36, 50.40, 292.93°)
OKLaboklab(39.83% -0.0045 -0.1335)
OKLCHoklch(39.83% 0.134 268)
XYZxyz(7.5728, 5.9787, 26.3408)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F8E #8E7829
analogous
#29718E #293F8E #45298E
triadic
#293F8E #8E293F #3F8E29
tetradic
#293F8E #8E2971 #8E7829 #298E45
square
#293F8E #8E2971 #8E7829 #298E45
split-complementary
#293F8E #8E4529 #718E29
monochromatic
#0E152F #1B2A5F #293F8E #3754BD #6079D1

Accessibility & contrast

On white

9.56
#293F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293F8E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F8E#FFFFFF#000000##FFFFFF
##293F8E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014A91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #293f8e;
/* rgb */ color: rgb(41, 63, 142);
/* oklch */ color: oklch(39.8% 0.134 268.0);
Tailwind
colors: {
  custom: {
    50: '#7073b0',
    500: '#293f8e',
    950: '#000000',
  },
}
SCSS
$custom: #293f8e;
$custom-light: #7073b0;
$custom-dark: #000000;
JSON
{
  "hex": "#293f8e",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 142
  },
  "hsl": {
    "h": 226.931,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39833,
    "c": 0.13363,
    "h": 268
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#293F8E
secondary
#B7A35C
accent
#BE49DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #293F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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