#294198#294198

#294198 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.145 H 267.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#294198
RGBrgb(41, 65, 152)
HSLhsl(227, 58%, 38%)
HSVhsv(227, 73%, 60%)
CMYKcmyk(73%, 57.2%, 0%, 40.4%)
CIE-LABlab(30.68, 22.11, -50.39)
CIE-LCHlch(30.68, 55.03, 293.69°)
OKLaboklab(41.07% -0.0057 -0.1452)
OKLCHoklch(41.07% 0.145 267.8)
XYZxyz(8.4703, 6.5181, 30.5114)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294198 #988029
analogous
#297898 #294198 #482998
triadic
#294198 #982941 #419829
tetradic
#294198 #982978 #988029 #299848
square
#294198 #982978 #988029 #299848
split-complementary
#294198 #984829 #789829
monochromatic
#0F1838 #1C2C68 #294198 #3656C8 #667ED6

Accessibility & contrast

On white

9.12
#294198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#294198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294198
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294198#FFFFFF#000000##FFFFFF
##2941981.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #294198;
/* rgb */ color: rgb(41, 65, 152);
/* oklch */ color: oklch(41.1% 0.145 267.8);
Tailwind
colors: {
  custom: {
    50: '#7275b7',
    500: '#294198',
    950: '#000000',
  },
}
SCSS
$custom: #294198;
$custom-light: #7275b7;
$custom-dark: #000000;
JSON
{
  "hex": "#294198",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 227.027,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41072,
    "c": 0.14531,
    "h": 267.8
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #294198

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

Preview Lab → · Contrast checker → · Palette generator →

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