#295697#295697

#295697 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.117 H 257.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#295697
RGBrgb(41, 86, 151)
HSLhsl(215, 57%, 38%)
HSVhsv(215, 73%, 59%)
CMYKcmyk(72.8%, 43%, 0%, 40.8%)
CIE-LABlab(36.67, 7.65, -40.14)
CIE-LCHlch(36.67, 40.86, 280.78°)
OKLaboklab(45.62% -0.0247 -0.1147)
OKLCHoklch(45.62% 0.117 257.9)
XYZxyz(9.8261, 9.3603, 30.5610)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295697 #976A29
analogous
#298D97 #295697 #332997
triadic
#295697 #972956 #569729
tetradic
#295697 #97298D #976A29 #299733
square
#295697 #97298D #976A29 #299733
split-complementary
#295697 #973329 #8D9729
monochromatic
#0F1F37 #1C3B67 #295697 #3671C7 #6593D5

Accessibility & contrast

On white

7.31
#295697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #295697
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295697#FFFFFF#000000##FFFFFF
##2956971.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#245296
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #295697;
/* rgb */ color: rgb(41, 86, 151);
/* oklch */ color: oklch(45.6% 0.117 257.9);
Tailwind
colors: {
  custom: {
    50: '#7185b6',
    500: '#295697',
    950: '#000000',
  },
}
SCSS
$custom: #295697;
$custom-light: #7185b6;
$custom-dark: #000000;
JSON
{
  "hex": "#295697",
  "rgb": {
    "r": 41,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 215.455,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4562,
    "c": 0.11732,
    "h": 257.9
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#295697
secondary
#BB9661
accent
#A247E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #295697

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

Preview Lab → · Contrast checker → · Palette generator →

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