#294074#294074

#294074 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.093 H 264.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#294074
RGBrgb(41, 64, 116)
HSLhsl(222, 48%, 31%)
HSVhsv(222, 65%, 45%)
CMYKcmyk(64.7%, 44.8%, 0%, 54.5%)
CIE-LABlab(27.84, 8.99, -32.63)
CIE-LCHlch(27.84, 33.85, 285.41°)
OKLaboklab(38.1% -0.0091 -0.093)
OKLCHoklch(38.1% 0.093 264.4)
XYZxyz(5.8991, 5.3986, 17.2508)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294074 #745D29
analogous
#296574 #294074 #372974
triadic
#294074 #742940 #407429
tetradic
#294074 #742965 #745D29 #297437
square
#294074 #742965 #745D29 #297437
split-complementary
#294074 #743729 #657429
monochromatic
#090E1A #192747 #294074 #3959A1 #5576C3

Accessibility & contrast

On white

10.10
#294074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#294074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294074
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294074#FFFFFF#000000##FFFFFF
##2940741.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284576
Deuteranopia (green-blind)
#1D3F73
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #294074;
/* rgb */ color: rgb(41, 64, 116);
/* oklch */ color: oklch(38.1% 0.093 264.4);
Tailwind
colors: {
  custom: {
    50: '#6b749c',
    500: '#294074',
    950: '#000000',
  },
}
SCSS
$custom: #294074;
$custom-light: #6b749c;
$custom-dark: #000000;
JSON
{
  "hex": "#294074",
  "rgb": {
    "r": 41,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 221.6,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38098,
    "c": 0.09344,
    "h": 264.4
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#294074
secondary
#A68C53
accent
#AE50D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #294074

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

Preview Lab → · Contrast checker → · Palette generator →

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