#293277#293277

#293277 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.2% C 0.117 H 273.2°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#293277
RGBrgb(41, 50, 119)
HSLhsl(233, 49%, 31%)
HSVhsv(233, 66%, 47%)
CMYKcmyk(65.5%, 58%, 0%, 53.3%)
CIE-LABlab(23.95, 19.83, -40.80)
CIE-LCHlch(23.95, 45.36, 295.93°)
OKLaboklab(35.21% 0.0065 -0.1172)
OKLCHoklch(35.21% 0.117 273.2)
XYZxyz(5.3837, 4.0841, 17.9538)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293277 #776E29
analogous
#295977 #293277 #472977
triadic
#293277 #772932 #327729
tetradic
#293277 #772959 #776E29 #297747
square
#293277 #772959 #776E29 #297747
split-complementary
#293277 #774729 #597729
monochromatic
#0A0C1C #191F49 #293277 #3945A5 #5663C5

Accessibility & contrast

On white

11.56
#293277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#293277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293277
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293277#FFFFFF#000000##FFFFFF
##2932771.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #293277;
/* rgb */ color: rgb(41, 50, 119);
/* oklch */ color: oklch(35.2% 0.117 273.2);
Tailwind
colors: {
  custom: {
    50: '#6c699f',
    500: '#293277',
    950: '#000000',
  },
}
SCSS
$custom: #293277;
$custom-light: #6c699f;
$custom-dark: #000000;
JSON
{
  "hex": "#293277",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 233.077,
    "s": 48.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35209,
    "c": 0.11738,
    "h": 273.2
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#293277
secondary
#A99F53
accent
#C94FD8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293277

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

Preview Lab → · Contrast checker → · Palette generator →

#293277 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva