#293255#293255

#293255 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.063 H 271.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#293255
RGBrgb(41, 50, 85)
HSLhsl(228, 35%, 25%)
HSVhsv(228, 52%, 33%)
CMYKcmyk(51.8%, 41.2%, 0%, 66.7%)
CIE-LABlab(21.61, 7.26, -22.46)
CIE-LCHlch(21.61, 23.60, 287.91°)
OKLaboklab(32.68% 0.0018 -0.0634)
OKLCHoklch(32.68% 0.063 271.6)
XYZxyz(3.6942, 3.4083, 9.0558)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293255 #554C29
analogous
#294855 #293255 #362955
triadic
#293255 #552932 #325529
tetradic
#293255 #552948 #554C29 #295536
square
#293255 #552948 #554C29 #295536
split-complementary
#293255 #553629 #485529
monochromatic
#0A0C15 #151A2C #293255 #3D4A7E #5163A8

Accessibility & contrast

On white

12.49
#293255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#293255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293255
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293255#FFFFFF#000000##FFFFFF
##2932551.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253656
Deuteranopia (green-blind)
#213254
Tritanopia (blue-blind)
#18393F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #293255;
/* rgb */ color: rgb(41, 50, 85);
/* oklch */ color: oklch(32.7% 0.063 271.6);
Tailwind
colors: {
  custom: {
    50: '#666985',
    500: '#293255',
    950: '#000000',
  },
}
SCSS
$custom: #293255;
$custom-light: #666985;
$custom-dark: #000000;
JSON
{
  "hex": "#293255",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 227.727,
    "s": 34.921,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32684,
    "c": 0.06338,
    "h": 271.6
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#293255
secondary
#887D52
accent
#B45DCB
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #293255

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

Preview Lab → · Contrast checker → · Palette generator →

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