#27235E#27235E

#27235E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.9% C 0.102 H 281.3°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#27235E
RGBrgb(39, 35, 94)
HSLhsl(244, 46%, 25%)
HSVhsv(244, 63%, 37%)
CMYKcmyk(58.5%, 62.8%, 0%, 63.1%)
CIE-LABlab(17.65, 20.62, -34.78)
CIE-LCHlch(17.65, 40.43, 300.67°)
OKLaboklab(29.85% 0.02 -0.0997)
OKLCHoklch(29.85% 0.102 281.3)
XYZxyz(3.4575, 2.4413, 10.8765)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27235E #5A5E23
analogous
#233C5E #27235E #44235E
triadic
#27235E #5E2723 #235E27
tetradic
#27235E #5E233C #5A5E23 #235E44
square
#27235E #5E233C #5A5E23 #235E44
split-complementary
#27235E #5E4423 #3C5E23
monochromatic
#090816 #141231 #27235E #3A348B #4C44B7

Accessibility & contrast

On white

14.11
#27235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#27235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27235E
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27235E#FFFFFF#000000##FFFFFF
##27235E1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#0D313C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #27235e;
/* rgb */ color: rgb(39, 35, 94);
/* oklch */ color: oklch(29.9% 0.102 281.3);
Tailwind
colors: {
  custom: {
    50: '#675e8c',
    500: '#27235e',
    950: '#000000',
  },
}
SCSS
$custom: #27235e;
$custom-light: #675e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#27235e",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 244.068,
    "s": 45.736,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29854,
    "c": 0.10169,
    "h": 281.3
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#27235E
secondary
#8D924B
accent
#D552CD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #27235E

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

Preview Lab → · Contrast checker → · Palette generator →

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