#293C8E#293C8E

#293C8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.138 H 269.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#293C8E
RGBrgb(41, 60, 142)
HSLhsl(229, 55%, 36%)
HSVhsv(229, 71%, 56%)
CMYKcmyk(71.1%, 57.7%, 0%, 44.3%)
CIE-LABlab(28.53, 21.69, -47.77)
CIE-LCHlch(28.53, 52.46, 294.42°)
OKLaboklab(39.21% -0.0019 -0.1376)
OKLCHoklch(39.21% 0.138 269.2)
XYZxyz(7.4111, 5.6554, 26.2870)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293C8E #8E7B29
analogous
#296E8E #293C8E #48298E
triadic
#293C8E #8E293C #3C8E29
tetradic
#293C8E #8E296E #8E7B29 #298E48
square
#293C8E #8E296E #8E7B29 #298E48
split-complementary
#293C8E #8E4829 #6E8E29
monochromatic
#0E142F #1B285F #293C8E #3750BD #6075D1

Accessibility & contrast

On white

9.85
#293C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#293C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293C8E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293C8E#FFFFFF#000000##FFFFFF
##293C8E1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #293c8e;
/* rgb */ color: rgb(41, 60, 142);
/* oklch */ color: oklch(39.2% 0.138 269.2);
Tailwind
colors: {
  custom: {
    50: '#7071b0',
    500: '#293c8e',
    950: '#000000',
  },
}
SCSS
$custom: #293c8e;
$custom-light: #7071b0;
$custom-dark: #000000;
JSON
{
  "hex": "#293c8e",
  "rgb": {
    "r": 41,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 228.713,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39207,
    "c": 0.13757,
    "h": 269.2
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#293C8E
secondary
#B7A65C
accent
#C249DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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