#294297#294297

#294297 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.143 H 267.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#294297
RGBrgb(41, 66, 151)
HSLhsl(226, 57%, 38%)
HSVhsv(226, 73%, 59%)
CMYKcmyk(72.8%, 56.3%, 0%, 40.8%)
CIE-LABlab(30.88, 21.05, -49.46)
CIE-LCHlch(30.88, 53.75, 293.06°)
OKLaboklab(41.2% -0.0065 -0.1424)
OKLCHoklch(41.2% 0.143 267.4)
XYZxyz(8.4466, 6.6013, 30.1012)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294297 #977E29
analogous
#297997 #294297 #472997
triadic
#294297 #972942 #429729
tetradic
#294297 #972979 #977E29 #299747
square
#294297 #972979 #977E29 #299747
split-complementary
#294297 #974729 #799729
monochromatic
#0F1837 #1C2D67 #294297 #3657C7 #657FD5

Accessibility & contrast

On white

9.05
#294297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#294297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294297
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294297#FFFFFF#000000##FFFFFF
##2942971.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #294297;
/* rgb */ color: rgb(41, 66, 151);
/* oklch */ color: oklch(41.2% 0.143 267.4);
Tailwind
colors: {
  custom: {
    50: '#7276b6',
    500: '#294297',
    950: '#000000',
  },
}
SCSS
$custom: #294297;
$custom-light: #7276b6;
$custom-dark: #000000;
JSON
{
  "hex": "#294297",
  "rgb": {
    "r": 41,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 226.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.1426,
    "h": 267.4
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #294297

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

Preview Lab → · Contrast checker → · Palette generator →

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