#295899#295899

#295899 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.2% C 0.118 H 257.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#295899
RGBrgb(41, 88, 153)
HSLhsl(215, 58%, 38%)
HSVhsv(215, 73%, 60%)
CMYKcmyk(73.2%, 42.5%, 0%, 40%)
CIE-LABlab(37.39, 7.10, -40.19)
CIE-LCHlch(37.39, 40.82, 280.02°)
OKLaboklab(46.22% -0.0262 -0.1148)
OKLCHoklch(46.22% 0.118 257.2)
XYZxyz(10.1518, 9.7497, 31.4777)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295899 #996A29
analogous
#299099 #295899 #322999
triadic
#295899 #992958 #589929
tetradic
#295899 #992990 #996A29 #299932
square
#295899 #992990 #996A29 #299932
split-complementary
#295899 #993229 #909929
monochromatic
#0F2038 #1C3C69 #295899 #3674C9 #6695D6

Accessibility & contrast

On white

7.12
#295899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#295899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295899
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295899#FFFFFF#000000##FFFFFF
##2958991.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9C
Deuteranopia (green-blind)
#265398
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #295899;
/* rgb */ color: rgb(41, 88, 153);
/* oklch */ color: oklch(46.2% 0.118 257.2);
Tailwind
colors: {
  custom: {
    50: '#7286b7',
    500: '#295899',
    950: '#000000',
  },
}
SCSS
$custom: #295899;
$custom-light: #7286b7;
$custom-dark: #000000;
JSON
{
  "hex": "#295899",
  "rgb": {
    "r": 41,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 214.821,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46218,
    "c": 0.11777,
    "h": 257.2
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#295899
secondary
#BC9662
accent
#A047E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #295899

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

Preview Lab → · Contrast checker → · Palette generator →

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