#295F87#295F87

#295F87 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.8% C 0.087 H 243.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#295F87
RGBrgb(41, 95, 135)
HSLhsl(206, 53%, 35%)
HSVhsv(206, 70%, 53%)
CMYKcmyk(69.6%, 29.6%, 0%, 47.1%)
CIE-LABlab(38.56, -4.12, -27.47)
CIE-LCHlch(38.56, 27.77, 261.47°)
OKLaboklab(46.81% -0.0384 -0.0775)
OKLCHoklch(46.81% 0.087 243.6)
XYZxyz(9.3782, 10.4041, 24.4309)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295F87 #875129
analogous
#298780 #295F87 #293087
triadic
#295F87 #87295F #5F8729
tetradic
#295F87 #802987 #875129 #308729
square
#295F87 #802987 #875129 #308729
split-complementary
#295F87 #872930 #878029
monochromatic
#0C1D29 #1B3E58 #295F87 #3780B6 #5D9ECE

Accessibility & contrast

On white

6.82
#295F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#295F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #295F87
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295F87#FFFFFF#000000##FFFFFF
##295F871.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6089
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #295f87;
/* rgb */ color: rgb(41, 95, 135);
/* oklch */ color: oklch(46.8% 0.087 243.6);
Tailwind
colors: {
  custom: {
    50: '#6e8caa',
    500: '#295f87',
    950: '#000000',
  },
}
SCSS
$custom: #295f87;
$custom-light: #6e8caa;
$custom-dark: #000000;
JSON
{
  "hex": "#295f87",
  "rgb": {
    "r": 41,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 205.532,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46812,
    "c": 0.08651,
    "h": 243.6
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

primary
#295F87
secondary
#B37F59
accent
#894BDD
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #295F87

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

Preview Lab → · Contrast checker → · Palette generator →

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