#275178#275178

#275178 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.080 H 248.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#275178
RGBrgb(39, 81, 120)
HSLhsl(209, 51%, 31%)
HSVhsv(209, 68%, 47%)
CMYKcmyk(67.5%, 32.5%, 0%, 52.9%)
CIE-LABlab(33.29, -1.21, -26.52)
CIE-LCHlch(33.29, 26.55, 267.40°)
OKLaboklab(42.39% -0.0292 -0.0749)
OKLCHoklch(42.39% 0.08 248.7)
XYZxyz(7.1680, 7.6715, 18.8687)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275178 #784E27
analogous
#277876 #275178 #272878
triadic
#275178 #782751 #517827
tetradic
#275178 #762778 #784E27 #287827
square
#275178 #762778 #784E27 #287827
split-complementary
#275178 #782728 #787627
monochromatic
#09131C #18324A #275178 #3670A6 #528FC7

Accessibility & contrast

On white

8.29
#275178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#275178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275178
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275178#FFFFFF#000000##FFFFFF
##2751781.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537A
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #275178;
/* rgb */ color: rgb(39, 81, 120);
/* oklch */ color: oklch(42.4% 0.080 248.7);
Tailwind
colors: {
  custom: {
    50: '#6a819f',
    500: '#275178',
    950: '#000000',
  },
}
SCSS
$custom: #275178;
$custom-light: #6a819f;
$custom-dark: #000000;
JSON
{
  "hex": "#275178",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 208.889,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42388,
    "c": 0.08044,
    "h": 248.7
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#275178
secondary
#AA7C51
accent
#914DDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #275178

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

Preview Lab → · Contrast checker → · Palette generator →

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