#27538B#27538B

#27538B is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.0% C 0.105 H 255.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#27538B
RGBrgb(39, 83, 139)
HSLhsl(214, 56%, 35%)
HSVhsv(214, 72%, 55%)
CMYKcmyk(71.9%, 40.3%, 0%, 45.5%)
CIE-LABlab(34.97, 4.69, -35.58)
CIE-LCHlch(34.97, 35.89, 277.51°)
OKLaboklab(44.04% -0.026 -0.1014)
OKLCHoklch(44.04% 0.105 255.6)
XYZxyz(8.5885, 8.4810, 25.6055)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27538B #8B5F27
analogous
#27858B #27538B #2D278B
triadic
#27538B #8B2753 #538B27
tetradic
#27538B #8B2785 #8B5F27 #278B2D
square
#27538B #8B2785 #8B5F27 #278B2D
split-complementary
#27538B #8B2D27 #858B27
monochromatic
#0C1A2B #1A365B #27538B #3470BB #5B8FD1

Accessibility & contrast

On white

7.79
#27538B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#27538B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27538B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27538B#FFFFFF#000000##FFFFFF
##27538B1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#2A4E8A
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #27538b;
/* rgb */ color: rgb(39, 83, 139);
/* oklch */ color: oklch(44.0% 0.105 255.6);
Tailwind
colors: {
  custom: {
    50: '#6e82ad',
    500: '#27538b',
    950: '#000000',
  },
}
SCSS
$custom: #27538b;
$custom-light: #6e82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27538b",
  "rgb": {
    "r": 39,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 213.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.10466,
    "h": 255.6
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#27538B
secondary
#B68D58
accent
#9D48DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #27538B

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

Preview Lab → · Contrast checker → · Palette generator →

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