#294277#294277

#294277 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.095 H 263.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#294277
RGBrgb(41, 66, 119)
HSLhsl(221, 49%, 31%)
HSVhsv(221, 66%, 47%)
CMYKcmyk(65.5%, 44.5%, 0%, 53.3%)
CIE-LABlab(28.64, 8.76, -33.25)
CIE-LCHlch(28.64, 34.39, 284.77°)
OKLaboklab(38.77% -0.0107 -0.0948)
OKLCHoklch(38.77% 0.095 263.6)
XYZxyz(6.1913, 5.6992, 18.2230)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294277 #775E29
analogous
#296977 #294277 #372977
triadic
#294277 #772942 #427729
tetradic
#294277 #772969 #775E29 #297737
square
#294277 #772969 #775E29 #297737
split-complementary
#294277 #773729 #697729
monochromatic
#0A101C #192949 #294277 #395BA5 #5679C5

Accessibility & contrast

On white

9.81
#294277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#294277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294277
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294277#FFFFFF#000000##FFFFFF
##2942771.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4779
Deuteranopia (green-blind)
#1E4076
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #294277;
/* rgb */ color: rgb(41, 66, 119);
/* oklch */ color: oklch(38.8% 0.095 263.6);
Tailwind
colors: {
  custom: {
    50: '#6b769e',
    500: '#294277',
    950: '#000000',
  },
}
SCSS
$custom: #294277;
$custom-light: #6b769e;
$custom-dark: #000000;
JSON
{
  "hex": "#294277",
  "rgb": {
    "r": 41,
    "g": 66,
    "b": 119
  },
  "hsl": {
    "h": 220.769,
    "s": 48.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38774,
    "c": 0.09538,
    "h": 263.6
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#294277
secondary
#A98D53
accent
#AC4FD8
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #294277

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

Preview Lab → · Contrast checker → · Palette generator →

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