#295271#295271

#295271 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.3% C 0.069 H 243.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#295271
RGBrgb(41, 82, 113)
HSLhsl(206, 47%, 30%)
HSVhsv(206, 64%, 44%)
CMYKcmyk(63.7%, 27.4%, 0%, 55.7%)
CIE-LABlab(33.34, -4.00, -22.07)
CIE-LCHlch(33.34, 22.43, 259.73°)
OKLaboklab(42.34% -0.0312 -0.062)
OKLCHoklch(42.34% 0.069 243.3)
XYZxyz(6.9113, 7.6976, 16.7411)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295271 #714829
analogous
#29716C #295271 #292E71
triadic
#295271 #712952 #527129
tetradic
#295271 #6C2971 #714829 #2E7129
square
#295271 #6C2971 #714829 #2E7129
split-complementary
#295271 #71292E #716C29
monochromatic
#081117 #193144 #295271 #39739E #5492C1

Accessibility & contrast

On white

8.27
#295271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#295271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295271
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295271#FFFFFF#000000##FFFFFF
##2952711.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445272
Deuteranopia (green-blind)
#3B4B70
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #295271;
/* rgb */ color: rgb(41, 82, 113);
/* oklch */ color: oklch(42.3% 0.069 243.3);
Tailwind
colors: {
  custom: {
    50: '#6a829a',
    500: '#295271',
    950: '#000000',
  },
}
SCSS
$custom: #295271;
$custom-light: #6a829a;
$custom-dark: #000000;
JSON
{
  "hex": "#295271",
  "rgb": {
    "r": 41,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 205.833,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4234,
    "c": 0.06939,
    "h": 243.3
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

primary
#295271
secondary
#A37553
accent
#8B51D6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #295271

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

Preview Lab → · Contrast checker → · Palette generator →

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