#295295#295295

#295295 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.119 H 259.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#295295
RGBrgb(41, 82, 149)
HSLhsl(217, 57%, 37%)
HSVhsv(217, 72%, 58%)
CMYKcmyk(72.5%, 45%, 0%, 41.6%)
CIE-LABlab(35.35, 9.51, -41.04)
CIE-LCHlch(35.35, 42.13, 283.05°)
OKLaboklab(44.56% -0.0213 -0.1174)
OKLCHoklch(44.56% 0.119 259.7)
XYZxyz(9.3546, 8.6749, 29.6094)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295295 #956C29
analogous
#298895 #295295 #362995
triadic
#295295 #952952 #529529
tetradic
#295295 #952988 #956C29 #299536
square
#295295 #952988 #956C29 #299536
split-complementary
#295295 #953629 #889529
monochromatic
#0F1D35 #1C3865 #295295 #366CC5 #648FD4

Accessibility & contrast

On white

7.68
#295295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#295295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295295
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295295#FFFFFF#000000##FFFFFF
##2952951.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315898
Deuteranopia (green-blind)
#1D4F94
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #295295;
/* rgb */ color: rgb(41, 82, 149);
/* oklch */ color: oklch(44.6% 0.119 259.7);
Tailwind
colors: {
  custom: {
    50: '#7182b4',
    500: '#295295',
    950: '#000000',
  },
}
SCSS
$custom: #295295;
$custom-light: #7182b4;
$custom-dark: #000000;
JSON
{
  "hex": "#295295",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 217.222,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44561,
    "c": 0.11931,
    "h": 259.7
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#295295
secondary
#BA9860
accent
#A648E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #295295

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

Preview Lab → · Contrast checker → · Palette generator →

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