#295AAF#295AAF

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

Color values

HEX#295AAF
RGBrgb(41, 90, 175)
HSLhsl(218, 62%, 42%)
HSVhsv(218, 77%, 69%)
CMYKcmyk(76.6%, 48.6%, 0%, 31.4%)
CIE-LABlab(39.37, 14.27, -50.12)
CIE-LCHlch(39.37, 52.11, 285.89°)
OKLaboklab(48.2% -0.0239 -0.144)
OKLCHoklch(48.2% 0.146 260.6)
XYZxyz(12.3057, 10.8775, 42.0001)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295AAF #AF7E29
analogous
#299DAF #295AAF #3B29AF
triadic
#295AAF #AF295A #5AAF29
tetradic
#295AAF #AF299D #AF7E29 #29AF3B
square
#295AAF #AF299D #AF7E29 #29AF3B
split-complementary
#295AAF #AF3B29 #9DAF29
monochromatic
#12274C #1D407D #295AAF #4277D3 #749BDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##295AAF#FFFFFF#000000##FFFFFF
##295AAF1.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)
#2A63B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #295aaf;
/* rgb */ color: rgb(41, 90, 175);
/* oklch */ color: oklch(48.2% 0.146 260.6);
Tailwind
colors: {
  custom: {
    50: '#7688c7',
    500: '#295aaf',
    950: '#000000',
  },
}
SCSS
$custom: #295aaf;
$custom-light: #7688c7;
$custom-dark: #000000;
JSON
{
  "hex": "#295aaf",
  "rgb": {
    "r": 41,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 218.06,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48199,
    "c": 0.14593,
    "h": 260.6
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#295AAF
secondary
#C6A66E
accent
#AA43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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