#295AAB#295AAB

#295AAB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.140 H 259.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#295AAB
RGBrgb(41, 90, 171)
HSLhsl(217, 61%, 42%)
HSVhsv(217, 76%, 67%)
CMYKcmyk(76%, 47.4%, 0%, 32.9%)
CIE-LABlab(39.11, 12.72, -48.18)
CIE-LCHlch(39.11, 49.83, 284.79°)
OKLaboklab(47.91% -0.0245 -0.1383)
OKLCHoklch(47.91% 0.14 259.9)
XYZxyz(11.9186, 10.7227, 39.9617)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295AAB #AB7A29
analogous
#299BAB #295AAB #3929AB
triadic
#295AAB #AB295A #5AAB29
tetradic
#295AAB #AB299B #AB7A29 #29AB39
square
#295AAB #AB299B #AB7A29 #29AB39
split-complementary
#295AAB #AB3929 #9BAB29
monochromatic
#112648 #1D407A #295AAB #4077D1 #719ADD

Accessibility & contrast

On white

6.68
#295AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#295AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295AAB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295AAB#FFFFFF#000000##FFFFFF
##295AAB1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AE
Deuteranopia (green-blind)
#0B57A9
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #295aab;
/* rgb */ color: rgb(41, 90, 171);
/* oklch */ color: oklch(47.9% 0.140 259.9);
Tailwind
colors: {
  custom: {
    50: '#7588c4',
    500: '#295aab',
    950: '#000000',
  },
}
SCSS
$custom: #295aab;
$custom-light: #7588c4;
$custom-dark: #000000;
JSON
{
  "hex": "#295aab",
  "rgb": {
    "r": 41,
    "g": 90,
    "b": 171
  },
  "hsl": {
    "h": 217.385,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47911,
    "c": 0.14041,
    "h": 259.9
  },
  "luminance": 0.10724
}

Semantic roles & 50–950 ramp

primary
#295AAB
secondary
#C4A36C
accent
#A843E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295AAB

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

Preview Lab → · Contrast checker → · Palette generator →

#295AAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva