#294097#294097

#294097 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.145 H 268.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#294097
RGBrgb(41, 64, 151)
HSLhsl(227, 57%, 38%)
HSVhsv(227, 73%, 59%)
CMYKcmyk(72.8%, 57.6%, 0%, 40.8%)
CIE-LABlab(30.33, 22.41, -50.35)
CIE-LCHlch(30.33, 55.11, 293.99°)
OKLaboklab(40.78% -0.0049 -0.1451)
OKLCHoklch(40.78% 0.145 268.1)
XYZxyz(8.3318, 6.3717, 30.0629)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294097 #978029
analogous
#297797 #294097 #492997
triadic
#294097 #972940 #409729
tetradic
#294097 #972977 #978029 #299749
square
#294097 #972977 #978029 #299749
split-complementary
#294097 #974929 #779729
monochromatic
#0F1737 #1C2C67 #294097 #3654C7 #657DD5

Accessibility & contrast

On white

9.23
#294097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#294097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294097
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294097#FFFFFF#000000##FFFFFF
##2940971.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #294097;
/* rgb */ color: rgb(41, 64, 151);
/* oklch */ color: oklch(40.8% 0.145 268.1);
Tailwind
colors: {
  custom: {
    50: '#7274b6',
    500: '#294097',
    950: '#000000',
  },
}
SCSS
$custom: #294097;
$custom-light: #7274b6;
$custom-dark: #000000;
JSON
{
  "hex": "#294097",
  "rgb": {
    "r": 41,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 227.455,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40784,
    "c": 0.14518,
    "h": 268.1
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#294097
secondary
#BBA861
accent
#C047E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #294097

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

Preview Lab → · Contrast checker → · Palette generator →

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