#293BA4#293BA4

#293BA4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.169 H 269.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#293BA4
RGBrgb(41, 59, 164)
HSLhsl(231, 60%, 40%)
HSVhsv(231, 75%, 64%)
CMYKcmyk(75%, 64%, 0%, 35.7%)
CIE-LABlab(30.11, 30.65, -58.60)
CIE-LCHlch(30.11, 66.14, 297.61°)
OKLaboklab(40.95% -0.0012 -0.1694)
OKLCHoklch(40.95% 0.169 269.6)
XYZxyz(9.1770, 6.2787, 35.8430)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293BA4 #A49229
analogous
#2978A4 #293BA4 #5529A4
triadic
#293BA4 #A4293B #3BA429
tetradic
#293BA4 #A42978 #A49229 #29A455
square
#293BA4 #A42978 #A49229 #29A455
split-complementary
#293BA4 #A45529 #78A429
monochromatic
#111842 #1D2973 #293BA4 #3C51CE #6D7DDA

Accessibility & contrast

On white

9.31
#293BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#293BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293BA4
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293BA4#FFFFFF#000000##FFFFFF
##293BA41.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #293ba4;
/* rgb */ color: rgb(41, 59, 164);
/* oklch */ color: oklch(41.0% 0.169 269.6);
Tailwind
colors: {
  custom: {
    50: '#7671c0',
    500: '#293ba4',
    950: '#000000',
  },
}
SCSS
$custom: #293ba4;
$custom-light: #7671c0;
$custom-dark: #000000;
JSON
{
  "hex": "#293ba4",
  "rgb": {
    "r": 41,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 231.22,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40954,
    "c": 0.16939,
    "h": 269.6
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#293BA4
secondary
#C1B468
accent
#CC45E3
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #293BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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