#293F8C#293F8C

#293F8C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.131 H 267.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#293F8C
RGBrgb(41, 63, 140)
HSLhsl(227, 55%, 35%)
HSVhsv(227, 71%, 55%)
CMYKcmyk(70.7%, 55%, 0%, 45.1%)
CIE-LABlab(29.21, 18.87, -45.43)
CIE-LCHlch(29.21, 49.19, 292.56°)
OKLaboklab(39.67% -0.0047 -0.1306)
OKLCHoklch(39.67% 0.131 267.9)
XYZxyz(7.4239, 5.9191, 25.5571)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F8C #8C7629
analogous
#29708C #293F8C #45298C
triadic
#293F8C #8C293F #3F8C29
tetradic
#293F8C #8C2970 #8C7629 #298C45
square
#293F8C #8C2970 #8C7629 #298C45
split-complementary
#293F8C #8C4529 #708C29
monochromatic
#0D142D #1B2A5D #293F8C #3754BB #5F78D0

Accessibility & contrast

On white

9.62
#293F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#293F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293F8C
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F8C#FFFFFF#000000##FFFFFF
##293F8C1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064A8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #293f8c;
/* rgb */ color: rgb(41, 63, 140);
/* oklch */ color: oklch(39.7% 0.131 267.9);
Tailwind
colors: {
  custom: {
    50: '#7073ae',
    500: '#293f8c',
    950: '#000000',
  },
}
SCSS
$custom: #293f8c;
$custom-light: #7073ae;
$custom-dark: #000000;
JSON
{
  "hex": "#293f8c",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 140
  },
  "hsl": {
    "h": 226.667,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39671,
    "c": 0.13072,
    "h": 267.9
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#293F8C
secondary
#B6A25B
accent
#BD4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #293F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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