#27336E#27336E

#27336E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.103 H 271.4°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#27336E
RGBrgb(39, 51, 110)
HSLhsl(230, 48%, 29%)
HSVhsv(230, 65%, 43%)
CMYKcmyk(64.5%, 53.6%, 0%, 56.9%)
CIE-LABlab(23.42, 15.34, -35.90)
CIE-LCHlch(23.42, 39.04, 293.13°)
OKLaboklab(34.56% 0.0025 -0.1028)
OKLCHoklch(34.56% 0.103 271.4)
XYZxyz(4.8341, 3.9244, 15.2516)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27336E #6E6227
analogous
#27576E #27336E #3F276E
triadic
#27336E #6E2733 #336E27
tetradic
#27336E #6E2757 #6E6227 #276E3F
square
#27336E #6E2757 #6E6227 #276E3F
split-complementary
#27336E #6E3F27 #576E27
monochromatic
#080A17 #171E41 #27336E #37489B #4F62C1

Accessibility & contrast

On white

11.76
#27336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#27336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27336E
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27336E#FFFFFF#000000##FFFFFF
##27336E1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B70
Deuteranopia (green-blind)
#01356D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #27336e;
/* rgb */ color: rgb(39, 51, 110);
/* oklch */ color: oklch(34.6% 0.103 271.4);
Tailwind
colors: {
  custom: {
    50: '#696a98',
    500: '#27336e',
    950: '#000000',
  },
}
SCSS
$custom: #27336e;
$custom-light: #696a98;
$custom-dark: #000000;
JSON
{
  "hex": "#27336e",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 229.859,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34561,
    "c": 0.10287,
    "h": 271.4
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#27336E
secondary
#A19350
accent
#C051D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #27336E

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

Preview Lab → · Contrast checker → · Palette generator →

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