#295BAF#295BAF

#295BAF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.145 H 260.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#295BAF
RGBrgb(41, 91, 175)
HSLhsl(218, 62%, 42%)
HSVhsv(218, 77%, 69%)
CMYKcmyk(76.6%, 48%, 0%, 31.4%)
CIE-LABlab(39.66, 13.61, -49.66)
CIE-LCHlch(39.66, 51.49, 285.33°)
OKLaboklab(48.42% -0.0247 -0.1426)
OKLCHoklch(48.42% 0.145 260.2)
XYZxyz(12.3906, 11.0473, 42.0284)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295BAF #AF7D29
analogous
#299EAF #295BAF #3A29AF
triadic
#295BAF #AF295B #5BAF29
tetradic
#295BAF #AF299E #AF7D29 #29AF3A
square
#295BAF #AF299E #AF7D29 #29AF3A
split-complementary
#295BAF #AF3A29 #9EAF29
monochromatic
#12274C #1D417D #295BAF #4278D3 #749CDE

Accessibility & contrast

On white

6.54
#295BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#295BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295BAF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295BAF#FFFFFF#000000##FFFFFF
##295BAF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#0158AD
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #295baf;
/* rgb */ color: rgb(41, 91, 175);
/* oklch */ color: oklch(48.4% 0.145 260.2);
Tailwind
colors: {
  custom: {
    50: '#7688c7',
    500: '#295baf',
    950: '#000000',
  },
}
SCSS
$custom: #295baf;
$custom-light: #7688c7;
$custom-dark: #000000;
JSON
{
  "hex": "#295baf",
  "rgb": {
    "r": 41,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 217.612,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48419,
    "c": 0.14471,
    "h": 260.2
  },
  "luminance": 0.11049
}

Semantic roles & 50–950 ramp

primary
#295BAF
secondary
#C6A56E
accent
#A943E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #295BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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