#293BA5#293BA5

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

Color values

HEX#293BA5
RGBrgb(41, 59, 165)
HSLhsl(231, 60%, 40%)
HSVhsv(231, 75%, 65%)
CMYKcmyk(75.2%, 64.2%, 0%, 35.3%)
CIE-LABlab(30.19, 31.02, -59.06)
CIE-LCHlch(30.19, 66.71, 297.71°)
OKLaboklab(41.05% -0.0012 -0.1707)
OKLCHoklch(41.05% 0.171 269.6)
XYZxyz(9.2676, 6.3150, 36.3205)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293BA5 #A59329
analogous
#2979A5 #293BA5 #5529A5
triadic
#293BA5 #A5293B #3BA529
tetradic
#293BA5 #A52979 #A59329 #29A555
square
#293BA5 #A52979 #A59329 #29A555
split-complementary
#293BA5 #A55529 #79A529
monochromatic
#111843 #1D2974 #293BA5 #3D52CF #6E7DDB

Accessibility & contrast

On white

9.28
#293BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293BA5
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293BA5#FFFFFF#000000##FFFFFF
##293BA51.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #293ba5;
/* rgb */ color: rgb(41, 59, 165);
/* oklch */ color: oklch(41.0% 0.171 269.6);
Tailwind
colors: {
  custom: {
    50: '#7671c1',
    500: '#293ba5',
    950: '#000000',
  },
}
SCSS
$custom: #293ba5;
$custom-light: #7671c1;
$custom-dark: #000000;
JSON
{
  "hex": "#293ba5",
  "rgb": {
    "r": 41,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 231.29,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41046,
    "c": 0.17073,
    "h": 269.6
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#293BA5
secondary
#C2B568
accent
#CC44E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #293BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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