#293FAB#293FAB

#293FAB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.174 H 268.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#293FAB
RGBrgb(41, 63, 171)
HSLhsl(230, 61%, 42%)
HSVhsv(230, 76%, 67%)
CMYKcmyk(76%, 63.2%, 0%, 32.9%)
CIE-LABlab(31.73, 30.63, -60.15)
CIE-LCHlch(31.73, 67.50, 296.99°)
OKLaboklab(42.34% -0.004 -0.1739)
OKLCHoklch(42.34% 0.174 268.7)
XYZxyz(10.0401, 6.9656, 39.3355)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293FAB #AB9529
analogous
#2980AB #293FAB #5429AB
triadic
#293FAB #AB293F #3FAB29
tetradic
#293FAB #AB2980 #AB9529 #29AB54
square
#293FAB #AB2980 #AB9529 #29AB54
split-complementary
#293FAB #AB5429 #80AB29
monochromatic
#111B48 #1D2D7A #293FAB #4059D1 #7184DD

Accessibility & contrast

On white

8.77
#293FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#293FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293FAB
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293FAB#FFFFFF#000000##FFFFFF
##293FAB1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #293fab;
/* rgb */ color: rgb(41, 63, 171);
/* oklch */ color: oklch(42.3% 0.174 268.7);
Tailwind
colors: {
  custom: {
    50: '#7774c5',
    500: '#293fab',
    950: '#000000',
  },
}
SCSS
$custom: #293fab;
$custom-light: #7774c5;
$custom-dark: #000000;
JSON
{
  "hex": "#293fab",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 229.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4234,
    "c": 0.17394,
    "h": 268.7
  },
  "luminance": 0.06967
}

Semantic roles & 50–950 ramp

primary
#293FAB
secondary
#C4B56C
accent
#C943E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #293FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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