#295294#295294

#295294 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.118 H 259.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#295294
RGBrgb(41, 82, 148)
HSLhsl(217, 57%, 37%)
HSVhsv(217, 72%, 58%)
CMYKcmyk(72.3%, 44.6%, 0%, 42%)
CIE-LABlab(35.29, 9.13, -40.53)
CIE-LCHlch(35.29, 41.55, 282.69°)
OKLaboklab(44.49% -0.0214 -0.1159)
OKLCHoklch(44.49% 0.118 259.5)
XYZxyz(9.2751, 8.6431, 29.1907)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295294 #946B29
analogous
#298894 #295294 #352994
triadic
#295294 #942952 #529429
tetradic
#295294 #942988 #946B29 #299435
square
#295294 #942988 #946B29 #299435
split-complementary
#295294 #943529 #889429
monochromatic
#0E1D34 #1C3764 #295294 #366DC4 #638FD4

Accessibility & contrast

On white

7.70
#295294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#295294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295294
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295294#FFFFFF#000000##FFFFFF
##2952941.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325897
Deuteranopia (green-blind)
#1E4E93
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295294;
/* rgb */ color: rgb(41, 82, 148);
/* oklch */ color: oklch(44.5% 0.118 259.5);
Tailwind
colors: {
  custom: {
    50: '#7182b4',
    500: '#295294',
    950: '#000000',
  },
}
SCSS
$custom: #295294;
$custom-light: #7182b4;
$custom-dark: #000000;
JSON
{
  "hex": "#295294",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 217.009,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44492,
    "c": 0.11789,
    "h": 259.5
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#295294
secondary
#BA975F
accent
#A648E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #295294

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

Preview Lab → · Contrast checker → · Palette generator →

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