#293097#293097

#293097 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.165 H 272.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#293097
RGBrgb(41, 48, 151)
HSLhsl(236, 57%, 38%)
HSVhsv(236, 73%, 59%)
CMYKcmyk(72.8%, 68.2%, 0%, 40.8%)
CIE-LABlab(26.21, 33.04, -57.08)
CIE-LCHlch(26.21, 65.95, 300.06°)
OKLaboklab(37.74% 0.007 -0.165)
OKLCHoklch(37.74% 0.165 272.4)
XYZxyz(7.5554, 4.8189, 29.8041)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293097 #979029
analogous
#296797 #293097 #592997
triadic
#293097 #972930 #309729
tetradic
#293097 #972967 #979029 #299759
square
#293097 #972967 #979029 #299759
split-complementary
#293097 #975929 #679729
monochromatic
#0F1137 #1C2167 #293097 #363FC7 #656CD5

Accessibility & contrast

On white

10.69
#293097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#293097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293097
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293097#FFFFFF#000000##FFFFFF
##2930971.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #293097;
/* rgb */ color: rgb(41, 48, 151);
/* oklch */ color: oklch(37.7% 0.165 272.4);
Tailwind
colors: {
  custom: {
    50: '#7368b7',
    500: '#293097',
    950: '#000000',
  },
}
SCSS
$custom: #293097;
$custom-light: #7368b7;
$custom-dark: #000000;
JSON
{
  "hex": "#293097",
  "rgb": {
    "r": 41,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 236.182,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37741,
    "c": 0.16514,
    "h": 272.4
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#293097
secondary
#BBB561
accent
#D747E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293097

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

Preview Lab → · Contrast checker → · Palette generator →

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