#294274#294274

#294274 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.091 H 262.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#294274
RGBrgb(41, 66, 116)
HSLhsl(220, 48%, 31%)
HSVhsv(220, 65%, 45%)
CMYKcmyk(64.7%, 43.1%, 0%, 54.5%)
CIE-LABlab(28.45, 7.63, -31.66)
CIE-LCHlch(28.45, 32.56, 283.54°)
OKLaboklab(38.57% -0.0114 -0.0901)
OKLCHoklch(38.57% 0.091 262.8)
XYZxyz(6.0140, 5.6283, 17.2890)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294274 #745B29
analogous
#296774 #294274 #352974
triadic
#294274 #742942 #427429
tetradic
#294274 #742967 #745B29 #297435
square
#294274 #742967 #745B29 #297435
split-complementary
#294274 #743529 #677429
monochromatic
#090F1A #192847 #294274 #395CA1 #5579C3

Accessibility & contrast

On white

9.88
#294274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#294274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294274
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294274#FFFFFF#000000##FFFFFF
##2942741.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4776
Deuteranopia (green-blind)
#214073
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #294274;
/* rgb */ color: rgb(41, 66, 116);
/* oklch */ color: oklch(38.6% 0.091 262.8);
Tailwind
colors: {
  custom: {
    50: '#6b769c',
    500: '#294274',
    950: '#000000',
  },
}
SCSS
$custom: #294274;
$custom-light: #6b769c;
$custom-dark: #000000;
JSON
{
  "hex": "#294274",
  "rgb": {
    "r": 41,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 220,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38571,
    "c": 0.09081,
    "h": 262.8
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#294274
secondary
#A68A53
accent
#AA50D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #294274

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

Preview Lab → · Contrast checker → · Palette generator →

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