#27638B#27638B

#27638B is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.0% C 0.089 H 241.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#27638B
RGBrgb(39, 99, 139)
HSLhsl(204, 56%, 35%)
HSVhsv(204, 72%, 55%)
CMYKcmyk(71.9%, 28.8%, 0%, 45.5%)
CIE-LABlab(39.95, -5.44, -27.72)
CIE-LCHlch(39.95, 28.25, 258.90°)
OKLaboklab(47.95% -0.0427 -0.0782)
OKLCHoklch(47.95% 0.089 241.4)
XYZxyz(9.9569, 11.2180, 26.0616)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27638B #8B4F27
analogous
#278B81 #27638B #27318B
triadic
#27638B #8B2763 #638B27
tetradic
#27638B #81278B #8B4F27 #318B27
square
#27638B #81278B #8B4F27 #318B27
split-complementary
#27638B #8B2731 #8B8127
monochromatic
#0C1F2B #1A415B #27638B #3485BB #5BA2D1

Accessibility & contrast

On white

6.47
#27638B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#27638B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27638B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27638B#FFFFFF#000000##FFFFFF
##27638B1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51638D
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#006D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #27638b;
/* rgb */ color: rgb(39, 99, 139);
/* oklch */ color: oklch(48.0% 0.089 241.4);
Tailwind
colors: {
  custom: {
    50: '#6e8fad',
    500: '#27638b',
    950: '#000000',
  },
}
SCSS
$custom: #27638b;
$custom-light: #6e8fad;
$custom-dark: #000000;
JSON
{
  "hex": "#27638b",
  "rgb": {
    "r": 39,
    "g": 99,
    "b": 139
  },
  "hsl": {
    "h": 204,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47954,
    "c": 0.08912,
    "h": 241.4
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

primary
#27638B
secondary
#B67D58
accent
#8548DF
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #27638B

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

Preview Lab → · Contrast checker → · Palette generator →

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