#27538E#27538E

#27538E is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.109 H 256.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#27538E
RGBrgb(39, 83, 142)
HSLhsl(214, 57%, 35%)
HSVhsv(214, 73%, 56%)
CMYKcmyk(72.5%, 41.5%, 0%, 44.3%)
CIE-LABlab(35.14, 5.85, -37.12)
CIE-LCHlch(35.14, 37.58, 278.95°)
OKLaboklab(44.24% -0.0253 -0.1059)
OKLCHoklch(44.24% 0.109 256.6)
XYZxyz(8.8107, 8.5699, 26.7758)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27538E #8E6227
analogous
#27868E #27538E #2E278E
triadic
#27538E #8E2753 #538E27
tetradic
#27538E #8E2786 #8E6227 #278E2E
square
#27538E #8E2786 #8E6227 #278E2E
split-complementary
#27538E #8E2E27 #868E27
monochromatic
#0D1B2E #1A375E #27538E #346FBE #5D8FD2

Accessibility & contrast

On white

7.74
#27538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#27538E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27538E
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27538E#FFFFFF#000000##FFFFFF
##27538E1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375890
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #27538e;
/* rgb */ color: rgb(39, 83, 142);
/* oklch */ color: oklch(44.2% 0.109 256.6);
Tailwind
colors: {
  custom: {
    50: '#6f82af',
    500: '#27538e',
    950: '#000000',
  },
}
SCSS
$custom: #27538e;
$custom-light: #6f82af;
$custom-dark: #000000;
JSON
{
  "hex": "#27538e",
  "rgb": {
    "r": 39,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 214.369,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44238,
    "c": 0.10889,
    "h": 256.6
  },
  "luminance": 0.08571
}

Semantic roles & 50–950 ramp

primary
#27538E
secondary
#B88F59
accent
#9F48E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #27538E

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

Preview Lab → · Contrast checker → · Palette generator →

#27538E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva