#27345E#27345E

#27345E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.076 H 269.1°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#27345E
RGBrgb(39, 52, 94)
HSLhsl(226, 41%, 26%)
HSVhsv(226, 59%, 37%)
CMYKcmyk(58.5%, 44.7%, 0%, 63.1%)
CIE-LABlab(22.64, 8.59, -26.77)
CIE-LCHlch(22.64, 28.12, 287.80°)
OKLaboklab(33.61% -0.0012 -0.076)
OKLCHoklch(33.61% 0.076 269.1)
XYZxyz(4.0844, 3.6952, 11.0855)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27345E #5E5127
analogous
#274F5E #27345E #35275E
triadic
#27345E #5E2734 #345E27
tetradic
#27345E #5E274F #5E5127 #275E35
square
#27345E #5E274F #5E5127 #275E35
split-complementary
#27345E #5E3527 #4F5E27
monochromatic
#090C16 #151C33 #27345E #394C89 #4B64B4

Accessibility & contrast

On white

12.08
#27345E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#27345E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27345E
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27345E#FFFFFF#000000##FFFFFF
##27345E1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223960
Deuteranopia (green-blind)
#1C345D
Tritanopia (blue-blind)
#093D44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #27345e;
/* rgb */ color: rgb(39, 52, 94);
/* oklch */ color: oklch(33.6% 0.076 269.1);
Tailwind
colors: {
  custom: {
    50: '#666b8c',
    500: '#27345e',
    950: '#000000',
  },
}
SCSS
$custom: #27345e;
$custom-light: #666b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#27345e",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 225.818,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33614,
    "c": 0.07602,
    "h": 269.1
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#27345E
secondary
#918250
accent
#B457D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #27345E

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

Preview Lab → · Contrast checker → · Palette generator →

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