#295BAB#295BAB

#295BAB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.1% C 0.139 H 259.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#295BAB
RGBrgb(41, 91, 171)
HSLhsl(217, 61%, 42%)
HSVhsv(217, 76%, 67%)
CMYKcmyk(76%, 46.8%, 0%, 32.9%)
CIE-LABlab(39.40, 12.07, -47.71)
CIE-LCHlch(39.40, 49.22, 284.20°)
OKLaboklab(48.13% -0.0254 -0.1369)
OKLCHoklch(48.13% 0.139 259.5)
XYZxyz(12.0036, 10.8925, 39.9900)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BAB #AB7929
analogous
#299CAB #295BAB #3829AB
triadic
#295BAB #AB295B #5BAB29
tetradic
#295BAB #AB299C #AB7929 #29AB38
square
#295BAB #AB299C #AB7929 #29AB38
split-complementary
#295BAB #AB3829 #9CAB29
monochromatic
#112648 #1D417A #295BAB #4078D1 #719BDD

Accessibility & contrast

On white

6.61
#295BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#295BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295BAB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BAB#FFFFFF#000000##FFFFFF
##295BAB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AE
Deuteranopia (green-blind)
#1057A9
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #295bab;
/* rgb */ color: rgb(41, 91, 171);
/* oklch */ color: oklch(48.1% 0.139 259.5);
Tailwind
colors: {
  custom: {
    50: '#7588c4',
    500: '#295bab',
    950: '#000000',
  },
}
SCSS
$custom: #295bab;
$custom-light: #7588c4;
$custom-dark: #000000;
JSON
{
  "hex": "#295bab",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 171
  },
  "hsl": {
    "h": 216.923,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48134,
    "c": 0.1392,
    "h": 259.5
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#295BAB
secondary
#C4A26C
accent
#A643E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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