#27294B#27294B

#27294B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.061 H 279.4°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#27294B
RGBrgb(39, 41, 75)
HSLhsl(237, 32%, 22%)
HSVhsv(237, 48%, 29%)
CMYKcmyk(48%, 45.3%, 0%, 70.6%)
CIE-LABlab(18.03, 9.54, -21.41)
CIE-LCHlch(18.03, 23.44, 294.02°)
OKLaboklab(29.7% 0.01 -0.0604)
OKLCHoklch(29.7% 0.061 279.4)
XYZxyz(2.8993, 2.5251, 6.9899)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27294B #4B4927
analogous
#273B4B #27294B #37274B
triadic
#27294B #4B2729 #294B27
tetradic
#27294B #4B273B #4B4927 #274B37
square
#27294B #4B273B #4B4927 #274B37
split-complementary
#27294B #4B3727 #3B4B27
monochromatic
#0A0B14 #121323 #27294B #3C3F73 #51559C

Accessibility & contrast

On white

13.95
#27294B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#27294B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27294B
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27294B#FFFFFF#000000##FFFFFF
##27294B1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2D4C
Deuteranopia (green-blind)
#1A2B4A
Tritanopia (blue-blind)
#1B3036
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #27294b;
/* rgb */ color: rgb(39, 41, 75);
/* oklch */ color: oklch(29.7% 0.061 279.4);
Tailwind
colors: {
  custom: {
    50: '#63627d',
    500: '#27294b',
    950: '#000000',
  },
}
SCSS
$custom: #27294b;
$custom-light: #63627d;
$custom-dark: #000000;
JSON
{
  "hex": "#27294b",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 236.667,
    "s": 31.579,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29701,
    "c": 0.06123,
    "h": 279.4
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#27294B
secondary
#7E7B50
accent
#C260C8
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#050509
muted
#7A797B

Preview Lab

Preview with #27294B

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

Preview Lab → · Contrast checker → · Palette generator →

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