#27345D#27345D

#27345D is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.5% C 0.074 H 268.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#27345D
RGBrgb(39, 52, 93)
HSLhsl(226, 41%, 26%)
HSVhsv(226, 58%, 36%)
CMYKcmyk(58.1%, 44.1%, 0%, 63.5%)
CIE-LABlab(22.57, 8.22, -26.22)
CIE-LCHlch(22.57, 27.48, 287.41°)
OKLaboklab(33.55% -0.0014 -0.0744)
OKLCHoklch(33.55% 0.074 268.9)
XYZxyz(4.0398, 3.6773, 10.8507)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27345D #5D5027
analogous
#274F5D #27345D #35275D
triadic
#27345D #5D2734 #345D27
tetradic
#27345D #5D274F #5D5027 #275D35
square
#27345D #5D274F #5D5027 #275D35
split-complementary
#27345D #5D3527 #4F5D27
monochromatic
#090C16 #151C32 #27345D #394C88 #4B64B3

Accessibility & contrast

On white

12.10
#27345D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27345D
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27345D#FFFFFF#000000##FFFFFF
##27345D1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385F
Deuteranopia (green-blind)
#1D345C
Tritanopia (blue-blind)
#0B3D44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #27345d;
/* rgb */ color: rgb(39, 52, 93);
/* oklch */ color: oklch(33.5% 0.074 268.9);
Tailwind
colors: {
  custom: {
    50: '#666b8b',
    500: '#27345d',
    950: '#000000',
  },
}
SCSS
$custom: #27345d;
$custom-light: #666b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#27345d",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 93
  },
  "hsl": {
    "h": 225.556,
    "s": 40.909,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33546,
    "c": 0.07439,
    "h": 268.9
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#27345D
secondary
#908150
accent
#B357D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #27345D

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

Preview Lab → · Contrast checker → · Palette generator →

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