#295194#295194

#295194 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.119 H 260.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#295194
RGBrgb(41, 81, 148)
HSLhsl(218, 57%, 37%)
HSVhsv(218, 72%, 58%)
CMYKcmyk(72.3%, 45.3%, 0%, 42%)
CIE-LABlab(34.99, 9.79, -41.01)
CIE-LCHlch(34.99, 42.16, 283.43°)
OKLaboklab(44.26% -0.0205 -0.1173)
OKLCHoklch(44.26% 0.119 260.1)
XYZxyz(9.2003, 8.4934, 29.1658)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295194 #946C29
analogous
#298794 #295194 #362994
triadic
#295194 #942951 #519429
tetradic
#295194 #942987 #946C29 #299436
square
#295194 #942987 #946C29 #299436
split-complementary
#295194 #943629 #879429
monochromatic
#0E1D34 #1C3764 #295194 #366BC4 #638ED4

Accessibility & contrast

On white

7.78
#295194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#295194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295194
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295194#FFFFFF#000000##FFFFFF
##2951941.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305897
Deuteranopia (green-blind)
#1C4E93
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #295194;
/* rgb */ color: rgb(41, 81, 148);
/* oklch */ color: oklch(44.3% 0.119 260.1);
Tailwind
colors: {
  custom: {
    50: '#7181b4',
    500: '#295194',
    950: '#000000',
  },
}
SCSS
$custom: #295194;
$custom-light: #7181b4;
$custom-dark: #000000;
JSON
{
  "hex": "#295194",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 148
  },
  "hsl": {
    "h": 217.57,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44262,
    "c": 0.11912,
    "h": 260.1
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#295194
secondary
#BA985F
accent
#A748E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #295194

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

Preview Lab → · Contrast checker → · Palette generator →

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