#295BAC#295BAC

#295BAC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.141 H 259.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#295BAC
RGBrgb(41, 91, 172)
HSLhsl(217, 62%, 42%)
HSVhsv(217, 76%, 67%)
CMYKcmyk(76.2%, 47.1%, 0%, 32.5%)
CIE-LABlab(39.46, 12.45, -48.20)
CIE-LCHlch(39.46, 49.78, 284.49°)
OKLaboklab(48.21% -0.0252 -0.1383)
OKLCHoklch(48.21% 0.141 259.7)
XYZxyz(12.0992, 10.9308, 40.4939)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BAC #AC7A29
analogous
#299DAC #295BAC #3929AC
triadic
#295BAC #AC295B #5BAC29
tetradic
#295BAC #AC299D #AC7A29 #29AC39
square
#295BAC #AC299D #AC7A29 #29AC39
split-complementary
#295BAC #AC3929 #9DAC29
monochromatic
#112749 #1D417B #295BAC #4178D2 #729BDD

Accessibility & contrast

On white

6.59
#295BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#295BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295BAC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BAC#FFFFFF#000000##FFFFFF
##295BAC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#0D57AA
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #295bac;
/* rgb */ color: rgb(41, 91, 172);
/* oklch */ color: oklch(48.2% 0.141 259.7);
Tailwind
colors: {
  custom: {
    50: '#7688c5',
    500: '#295bac',
    950: '#000000',
  },
}
SCSS
$custom: #295bac;
$custom-light: #7688c5;
$custom-dark: #000000;
JSON
{
  "hex": "#295bac",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 172
  },
  "hsl": {
    "h": 217.099,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48205,
    "c": 0.14058,
    "h": 259.7
  },
  "luminance": 0.10932
}

Semantic roles & 50–950 ramp

primary
#295BAC
secondary
#C5A36C
accent
#A743E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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