#293A7B#293A7B

#293A7B is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.2% C 0.112 H 269.3°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#293A7B
RGBrgb(41, 58, 123)
HSLhsl(228, 50%, 32%)
HSVhsv(228, 67%, 48%)
CMYKcmyk(66.7%, 52.8%, 0%, 51.8%)
CIE-LABlab(26.53, 15.80, -39.16)
CIE-LCHlch(26.53, 42.23, 291.97°)
OKLaboklab(37.24% -0.0014 -0.1123)
OKLCHoklch(37.24% 0.112 269.3)
XYZxyz(6.0014, 4.9271, 19.3698)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293A7B #7B6A29
analogous
#29637B #293A7B #41297B
triadic
#293A7B #7B293A #3A7B29
tetradic
#293A7B #7B2963 #7B6A29 #297B41
square
#293A7B #7B2963 #7B6A29 #297B41
split-complementary
#293A7B #7B4129 #637B29
monochromatic
#0A0F1F #1A244D #293A7B #3850A9 #576EC7

Accessibility & contrast

On white

10.58
#293A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#293A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293A7B
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293A7B#FFFFFF#000000##FFFFFF
##293A7B1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293a7b;
/* rgb */ color: rgb(41, 58, 123);
/* oklch */ color: oklch(37.2% 0.112 269.3);
Tailwind
colors: {
  custom: {
    50: '#6c6fa2',
    500: '#293a7b',
    950: '#000000',
  },
}
SCSS
$custom: #293a7b;
$custom-light: #6c6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#293a7b",
  "rgb": {
    "r": 41,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 227.561,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37245,
    "c": 0.11229,
    "h": 269.3
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#293A7B
secondary
#AC9A53
accent
#BD4EDA
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #293A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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