#294875#294875

#294875 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.1% C 0.085 H 257.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#294875
RGBrgb(41, 72, 117)
HSLhsl(216, 48%, 31%)
HSVhsv(216, 65%, 46%)
CMYKcmyk(65%, 38.5%, 0%, 54.1%)
CIE-LABlab(30.38, 3.96, -29.24)
CIE-LCHlch(30.38, 29.50, 277.71°)
OKLaboklab(40.08% -0.018 -0.0829)
OKLCHoklch(40.08% 0.085 257.7)
XYZxyz(6.4416, 6.3899, 17.7201)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294875 #755629
analogous
#296E75 #294875 #302975
triadic
#294875 #752948 #487529
tetradic
#294875 #75296E #755629 #297530
square
#294875 #75296E #755629 #297530
split-complementary
#294875 #753029 #6E7529
monochromatic
#09101A #192C48 #294875 #3964A2 #5582C3

Accessibility & contrast

On white

9.22
#294875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#294875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294875
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294875#FFFFFF#000000##FFFFFF
##2948751.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B77
Deuteranopia (green-blind)
#2A4474
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #294875;
/* rgb */ color: rgb(41, 72, 117);
/* oklch */ color: oklch(40.1% 0.085 257.7);
Tailwind
colors: {
  custom: {
    50: '#6b7a9d',
    500: '#294875',
    950: '#000000',
  },
}
SCSS
$custom: #294875;
$custom-light: #6b7a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#294875",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 215.526,
    "s": 48.101,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40079,
    "c": 0.08488,
    "h": 257.7
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#294875
secondary
#A78553
accent
#A050D8
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #294875

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

Preview Lab → · Contrast checker → · Palette generator →

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