#294197#294197

#294197 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.144 H 267.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#294197
RGBrgb(41, 65, 151)
HSLhsl(227, 57%, 38%)
HSVhsv(227, 73%, 59%)
CMYKcmyk(72.8%, 57%, 0%, 40.8%)
CIE-LABlab(30.61, 21.73, -49.91)
CIE-LCHlch(30.61, 54.43, 293.53°)
OKLaboklab(40.99% -0.0057 -0.1438)
OKLCHoklch(40.99% 0.144 267.7)
XYZxyz(8.3887, 6.4855, 30.0819)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294197 #977F29
analogous
#297897 #294197 #482997
triadic
#294197 #972941 #419729
tetradic
#294197 #972978 #977F29 #299748
square
#294197 #972978 #977F29 #299748
split-complementary
#294197 #974829 #789729
monochromatic
#0F1837 #1C2C67 #294197 #3656C7 #657ED5

Accessibility & contrast

On white

9.14
#294197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#294197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294197
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294197#FFFFFF#000000##FFFFFF
##2941971.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #294197;
/* rgb */ color: rgb(41, 65, 151);
/* oklch */ color: oklch(41.0% 0.144 267.7);
Tailwind
colors: {
  custom: {
    50: '#7275b6',
    500: '#294197',
    950: '#000000',
  },
}
SCSS
$custom: #294197;
$custom-light: #7275b6;
$custom-dark: #000000;
JSON
{
  "hex": "#294197",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 226.909,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40989,
    "c": 0.14389,
    "h": 267.7
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#294197
secondary
#BBA761
accent
#BF47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #294197

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

Preview Lab → · Contrast checker → · Palette generator →

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