#293273#293273

#293273 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.111 H 273.3°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#293273
RGBrgb(41, 50, 115)
HSLhsl(233, 47%, 31%)
HSVhsv(233, 64%, 45%)
CMYKcmyk(64.3%, 56.5%, 0%, 54.9%)
CIE-LABlab(23.64, 18.33, -38.75)
CIE-LCHlch(23.64, 42.86, 295.32°)
OKLaboklab(34.88% 0.0063 -0.1112)
OKLCHoklch(34.88% 0.111 273.3)
XYZxyz(5.1485, 3.9900, 16.7152)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293273 #736A29
analogous
#295773 #293273 #452973
triadic
#293273 #732932 #327329
tetradic
#293273 #732957 #736A29 #297345
square
#293273 #732957 #736A29 #297345
split-complementary
#293273 #734529 #577329
monochromatic
#090B19 #191E46 #293273 #3946A0 #5462C2

Accessibility & contrast

On white

11.68
#293273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#293273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293273
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293273#FFFFFF#000000##FFFFFF
##2932731.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C75
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #293273;
/* rgb */ color: rgb(41, 50, 115);
/* oklch */ color: oklch(34.9% 0.111 273.3);
Tailwind
colors: {
  custom: {
    50: '#6b699c',
    500: '#293273',
    950: '#000000',
  },
}
SCSS
$custom: #293273;
$custom-light: #6b699c;
$custom-dark: #000000;
JSON
{
  "hex": "#293273",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 232.703,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34879,
    "c": 0.11135,
    "h": 273.3
  },
  "luminance": 0.0399
}

Semantic roles & 50–950 ramp

primary
#293273
secondary
#A59B53
accent
#C751D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293273

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

Preview Lab → · Contrast checker → · Palette generator →

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