#275172#275172

#275172 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.073 H 244.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#275172
RGBrgb(39, 81, 114)
HSLhsl(206, 49%, 30%)
HSVhsv(206, 66%, 45%)
CMYKcmyk(65.8%, 28.9%, 0%, 55.3%)
CIE-LABlab(32.99, -3.42, -23.26)
CIE-LCHlch(32.99, 23.51, 261.64°)
OKLaboklab(42.05% -0.0312 -0.0655)
OKLCHoklch(42.05% 0.073 244.5)
XYZxyz(6.8153, 7.5304, 17.0107)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275172 #724827
analogous
#27726E #275172 #272B72
triadic
#275172 #722751 #517227
tetradic
#275172 #6E2772 #724827 #2B7227
square
#275172 #6E2772 #724827 #2B7227
split-complementary
#275172 #72272B #726E27
monochromatic
#081017 #173144 #275172 #3771A0 #5091C3

Accessibility & contrast

On white

8.38
#275172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#275172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275172
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275172#FFFFFF#000000##FFFFFF
##2751721.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425273
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #275172;
/* rgb */ color: rgb(39, 81, 114);
/* oklch */ color: oklch(42.0% 0.073 244.5);
Tailwind
colors: {
  custom: {
    50: '#69819a',
    500: '#275172',
    950: '#000000',
  },
}
SCSS
$custom: #275172;
$custom-light: #69819a;
$custom-dark: #000000;
JSON
{
  "hex": "#275172",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 206.4,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.42048,
    "c": 0.07255,
    "h": 244.5
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#275172
secondary
#A47550
accent
#8C4FD9
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #275172

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

Preview Lab → · Contrast checker → · Palette generator →

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