#294270#294270

#294270 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.085 H 261.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#294270
RGBrgb(41, 66, 112)
HSLhsl(219, 46%, 30%)
HSVhsv(219, 63%, 44%)
CMYKcmyk(63.4%, 41.1%, 0%, 56.1%)
CIE-LABlab(28.21, 6.12, -29.51)
CIE-LCHlch(28.21, 30.14, 281.71°)
OKLaboklab(38.31% -0.0123 -0.0838)
OKLCHoklch(38.31% 0.085 261.7)
XYZxyz(5.7863, 5.5372, 16.0900)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294270 #705729
analogous
#296670 #294270 #332970
triadic
#294270 #702942 #427029
tetradic
#294270 #702966 #705729 #297033
square
#294270 #702966 #705729 #297033
split-complementary
#294270 #703329 #667029
monochromatic
#080D16 #192843 #294270 #395C9D #537AC0

Accessibility & contrast

On white

9.96
#294270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#294270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294270
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294270#FFFFFF#000000##FFFFFF
##2942701.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4672
Deuteranopia (green-blind)
#25406F
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #294270;
/* rgb */ color: rgb(41, 66, 112);
/* oklch */ color: oklch(38.3% 0.085 261.7);
Tailwind
colors: {
  custom: {
    50: '#6a7699',
    500: '#294270',
    950: '#000000',
  },
}
SCSS
$custom: #294270;
$custom-light: #6a7699;
$custom-dark: #000000;
JSON
{
  "hex": "#294270",
  "rgb": {
    "r": 41,
    "g": 66,
    "b": 112
  },
  "hsl": {
    "h": 218.873,
    "s": 46.405,
    "l": 30
  },
  "oklch": {
    "l": 0.38306,
    "c": 0.08471,
    "h": 261.7
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#294270
secondary
#A28653
accent
#A752D6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #294270

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

Preview Lab → · Contrast checker → · Palette generator →

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