#295696#295696

#295696 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.6% C 0.116 H 257.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#295696
RGBrgb(41, 86, 150)
HSLhsl(215, 57%, 37%)
HSVhsv(215, 73%, 59%)
CMYKcmyk(72.7%, 42.7%, 0%, 41.2%)
CIE-LABlab(36.61, 7.26, -39.63)
CIE-LCHlch(36.61, 40.29, 280.38°)
OKLaboklab(45.55% -0.0249 -0.1132)
OKLCHoklch(45.55% 0.116 257.6)
XYZxyz(9.7453, 9.3280, 30.1351)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295696 #966929
analogous
#298D96 #295696 #322996
triadic
#295696 #962956 #569629
tetradic
#295696 #96298D #966929 #299632
square
#295696 #96298D #966929 #299632
split-complementary
#295696 #963229 #8D9629
monochromatic
#0F1F36 #1C3A66 #295696 #3672C6 #6593D5

Accessibility & contrast

On white

7.33
#295696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#295696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295696
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295696#FFFFFF#000000##FFFFFF
##2956961.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C99
Deuteranopia (green-blind)
#255195
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #295696;
/* rgb */ color: rgb(41, 86, 150);
/* oklch */ color: oklch(45.6% 0.116 257.6);
Tailwind
colors: {
  custom: {
    50: '#7185b5',
    500: '#295696',
    950: '#000000',
  },
}
SCSS
$custom: #295696;
$custom-light: #7185b5;
$custom-dark: #000000;
JSON
{
  "hex": "#295696",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 215.229,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45553,
    "c": 0.11591,
    "h": 257.6
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#295696
secondary
#BB9560
accent
#A147E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #295696

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

Preview Lab → · Contrast checker → · Palette generator →

#295696 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva