#294196#294196

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

Color values

HEX#294196
RGBrgb(41, 65, 150)
HSLhsl(227, 57%, 37%)
HSVhsv(227, 73%, 59%)
CMYKcmyk(72.7%, 56.7%, 0%, 41.2%)
CIE-LABlab(30.53, 21.35, -49.42)
CIE-LCHlch(30.53, 53.83, 293.36°)
OKLaboklab(40.91% -0.0058 -0.1424)
OKLCHoklch(40.91% 0.142 267.7)
XYZxyz(8.3079, 6.4532, 29.6560)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294196 #967E29
analogous
#297896 #294196 #482996
triadic
#294196 #962941 #419629
tetradic
#294196 #962978 #967E29 #299648
square
#294196 #962978 #967E29 #299648
split-complementary
#294196 #964829 #789629
monochromatic
#0F1736 #1C2C66 #294196 #3656C6 #657DD5

Accessibility & contrast

On white

9.17
#294196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#294196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294196
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294196#FFFFFF#000000##FFFFFF
##2941961.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #294196;
/* rgb */ color: rgb(41, 65, 150);
/* oklch */ color: oklch(40.9% 0.142 267.7);
Tailwind
colors: {
  custom: {
    50: '#7275b6',
    500: '#294196',
    950: '#000000',
  },
}
SCSS
$custom: #294196;
$custom-light: #7275b6;
$custom-dark: #000000;
JSON
{
  "hex": "#294196",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 226.789,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40906,
    "c": 0.14248,
    "h": 267.7
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#294196
secondary
#BBA760
accent
#BF47E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #294196

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

Preview Lab → · Contrast checker → · Palette generator →

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