#295997#295997

#295997 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.3% C 0.114 H 256.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#295997
RGBrgb(41, 89, 151)
HSLhsl(214, 57%, 38%)
HSVhsv(214, 73%, 59%)
CMYKcmyk(72.8%, 41.1%, 0%, 40.8%)
CIE-LABlab(37.57, 5.69, -38.70)
CIE-LCHlch(37.57, 39.12, 278.36°)
OKLaboklab(46.32% -0.0276 -0.1104)
OKLCHoklch(46.32% 0.114 256)
XYZxyz(10.0707, 9.8494, 30.6425)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295997 #976729
analogous
#299097 #295997 #302997
triadic
#295997 #972959 #599729
tetradic
#295997 #972990 #976729 #299730
square
#295997 #972990 #976729 #299730
split-complementary
#295997 #973029 #909729
monochromatic
#0F2037 #1C3D67 #295997 #3675C7 #6596D5

Accessibility & contrast

On white

7.07
#295997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#295997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295997
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295997#FFFFFF#000000##FFFFFF
##2959971.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E99
Deuteranopia (green-blind)
#2A5496
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #295997;
/* rgb */ color: rgb(41, 89, 151);
/* oklch */ color: oklch(46.3% 0.114 256.0);
Tailwind
colors: {
  custom: {
    50: '#7187b6',
    500: '#295997',
    950: '#000000',
  },
}
SCSS
$custom: #295997;
$custom-light: #7187b6;
$custom-dark: #000000;
JSON
{
  "hex": "#295997",
  "rgb": {
    "r": 41,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 213.818,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4632,
    "c": 0.11382,
    "h": 256
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #295997

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

Preview Lab → · Contrast checker → · Palette generator →

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