#293195#293195

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

Color values

HEX#293195
RGBrgb(41, 49, 149)
HSLhsl(236, 57%, 37%)
HSVhsv(236, 72%, 58%)
CMYKcmyk(72.5%, 67.1%, 0%, 41.6%)
CIE-LABlab(26.27, 31.67, -55.76)
CIE-LCHlch(26.27, 64.13, 299.59°)
OKLaboklab(37.72% 0.0065 -0.1611)
OKLCHoklch(37.72% 0.161 272.3)
XYZxyz(7.4358, 4.8372, 28.9698)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293195 #958D29
analogous
#296795 #293195 #572995
triadic
#293195 #952931 #319529
tetradic
#293195 #952967 #958D29 #299557
square
#293195 #952967 #958D29 #299557
split-complementary
#293195 #955729 #679529
monochromatic
#0F1135 #1C2165 #293195 #3641C5 #646CD4

Accessibility & contrast

On white

10.67
#293195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#293195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293195
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293195#FFFFFF#000000##FFFFFF
##2931951.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #293195;
/* rgb */ color: rgb(41, 49, 149);
/* oklch */ color: oklch(37.7% 0.161 272.3);
Tailwind
colors: {
  custom: {
    50: '#7369b5',
    500: '#293195',
    950: '#000000',
  },
}
SCSS
$custom: #293195;
$custom-light: #7369b5;
$custom-dark: #000000;
JSON
{
  "hex": "#293195",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 235.556,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37722,
    "c": 0.16127,
    "h": 272.3
  },
  "luminance": 0.04838
}

Semantic roles & 50–950 ramp

primary
#293195
secondary
#BAB460
accent
#D548E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293195

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

Preview Lab → · Contrast checker → · Palette generator →

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