#295897#295897

#295897 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.1% C 0.115 H 256.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#295897
RGBrgb(41, 88, 151)
HSLhsl(214, 57%, 38%)
HSVhsv(214, 73%, 59%)
CMYKcmyk(72.8%, 41.7%, 0%, 40.8%)
CIE-LABlab(37.27, 6.34, -39.18)
CIE-LCHlch(37.27, 39.69, 279.19°)
OKLaboklab(46.09% -0.0266 -0.1118)
OKLCHoklch(46.09% 0.115 256.6)
XYZxyz(9.9880, 9.6842, 30.6150)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295897 #976829
analogous
#298F97 #295897 #312997
triadic
#295897 #972958 #589729
tetradic
#295897 #97298F #976829 #299731
square
#295897 #97298F #976829 #299731
split-complementary
#295897 #973129 #8F9729
monochromatic
#0F2037 #1C3C67 #295897 #3674C7 #6595D5

Accessibility & contrast

On white

7.15
#295897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#295897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295897
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295897#FFFFFF#000000##FFFFFF
##2958971.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D99
Deuteranopia (green-blind)
#285396
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #295897;
/* rgb */ color: rgb(41, 88, 151);
/* oklch */ color: oklch(46.1% 0.115 256.6);
Tailwind
colors: {
  custom: {
    50: '#7186b6',
    500: '#295897',
    950: '#000000',
  },
}
SCSS
$custom: #295897;
$custom-light: #7186b6;
$custom-dark: #000000;
JSON
{
  "hex": "#295897",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 214.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46086,
    "c": 0.11497,
    "h": 256.6
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#295897
secondary
#BB9461
accent
#9F47E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #295897

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

Preview Lab → · Contrast checker → · Palette generator →

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