#295277#295277

#295277 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.077 H 247.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#295277
RGBrgb(41, 82, 119)
HSLhsl(208, 49%, 31%)
HSVhsv(208, 66%, 47%)
CMYKcmyk(65.5%, 31.1%, 0%, 53.3%)
CIE-LABlab(33.64, -1.82, -25.34)
CIE-LCHlch(33.64, 25.41, 265.89°)
OKLaboklab(42.67% -0.0291 -0.0715)
OKLCHoklch(42.67% 0.077 247.9)
XYZxyz(7.2603, 7.8372, 18.5793)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295277 #774E29
analogous
#297775 #295277 #292B77
triadic
#295277 #772952 #527729
tetradic
#295277 #752977 #774E29 #2B7729
square
#295277 #752977 #774E29 #2B7729
split-complementary
#295277 #77292B #777529
monochromatic
#0A131C #193349 #295277 #3971A5 #5690C5

Accessibility & contrast

On white

8.18
#295277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#295277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295277
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295277#FFFFFF#000000##FFFFFF
##2952771.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425379
Deuteranopia (green-blind)
#374C76
Tritanopia (blue-blind)
#005B5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #295277;
/* rgb */ color: rgb(41, 82, 119);
/* oklch */ color: oklch(42.7% 0.077 247.9);
Tailwind
colors: {
  custom: {
    50: '#6b829e',
    500: '#295277',
    950: '#000000',
  },
}
SCSS
$custom: #295277;
$custom-light: #6b829e;
$custom-dark: #000000;
JSON
{
  "hex": "#295277",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 119
  },
  "hsl": {
    "h": 208.462,
    "s": 48.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42672,
    "c": 0.07717,
    "h": 247.9
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#295277
secondary
#A97C53
accent
#904FD8
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #295277

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

Preview Lab → · Contrast checker → · Palette generator →

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