#293370#293370

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

Color values

HEX#293370
RGBrgb(41, 51, 112)
HSLhsl(232, 46%, 30%)
HSVhsv(232, 63%, 44%)
CMYKcmyk(63.4%, 54.5%, 0%, 56.1%)
CIE-LABlab(23.70, 16.50, -36.73)
CIE-LCHlch(23.70, 40.27, 294.19°)
OKLaboklab(34.85% 0.005 -0.1052)
OKLCHoklch(34.85% 0.105 272.7)
XYZxyz(5.0219, 4.0085, 15.8352)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293370 #706629
analogous
#295770 #293370 #422970
triadic
#293370 #702933 #337029
tetradic
#293370 #702957 #706629 #297042
square
#293370 #702957 #706629 #297042
split-complementary
#293370 #704229 #577029
monochromatic
#080A16 #191F43 #293370 #39479D #5363C0

Accessibility & contrast

On white

11.66
#293370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293370
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293370#FFFFFF#000000##FFFFFF
##2933701.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103C72
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #293370;
/* rgb */ color: rgb(41, 51, 112);
/* oklch */ color: oklch(34.9% 0.105 272.7);
Tailwind
colors: {
  custom: {
    50: '#6a6a99',
    500: '#293370',
    950: '#000000',
  },
}
SCSS
$custom: #293370;
$custom-light: #6a6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#293370",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 231.549,
    "s": 46.405,
    "l": 30
  },
  "oklch": {
    "l": 0.34854,
    "c": 0.10534,
    "h": 272.7
  },
  "luminance": 0.04009
}

Semantic roles & 50–950 ramp

primary
#293370
secondary
#A29753
accent
#C352D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293370

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

Preview Lab → · Contrast checker → · Palette generator →

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