#293275#293275

#293275 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.0% C 0.114 H 273.2°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#293275
RGBrgb(41, 50, 117)
HSLhsl(233, 48%, 31%)
HSVhsv(233, 65%, 46%)
CMYKcmyk(65%, 57.3%, 0%, 54.1%)
CIE-LABlab(23.79, 19.08, -39.78)
CIE-LCHlch(23.79, 44.12, 295.63°)
OKLaboklab(35.04% 0.0065 -0.1142)
OKLCHoklch(35.04% 0.114 273.2)
XYZxyz(5.2649, 4.0365, 17.3279)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293275 #756C29
analogous
#295875 #293275 #462975
triadic
#293275 #752932 #327529
tetradic
#293275 #752958 #756C29 #297546
square
#293275 #752958 #756C29 #297546
split-complementary
#293275 #754629 #587529
monochromatic
#090B1A #191F48 #293275 #3945A2 #5562C3

Accessibility & contrast

On white

11.62
#293275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#293275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293275
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293275#FFFFFF#000000##FFFFFF
##2932751.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023C77
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #293275;
/* rgb */ color: rgb(41, 50, 117);
/* oklch */ color: oklch(35.0% 0.114 273.2);
Tailwind
colors: {
  custom: {
    50: '#6c699d',
    500: '#293275',
    950: '#000000',
  },
}
SCSS
$custom: #293275;
$custom-light: #6c699d;
$custom-dark: #000000;
JSON
{
  "hex": "#293275",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 117
  },
  "hsl": {
    "h": 232.895,
    "s": 48.101,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35043,
    "c": 0.11437,
    "h": 273.2
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#293275
secondary
#A79D53
accent
#C850D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293275

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

Preview Lab → · Contrast checker → · Palette generator →

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