#27283F#27283F

#27283F is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.7% C 0.042 H 281.5°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#27283F
RGBrgb(39, 40, 63)
HSLhsl(238, 24%, 20%)
HSVhsv(238, 38%, 25%)
CMYKcmyk(38.1%, 36.5%, 0%, 75.3%)
CIE-LABlab(17.03, 6.19, -14.75)
CIE-LCHlch(17.03, 16.00, 292.78°)
OKLaboklab(28.7% 0.0084 -0.0411)
OKLCHoklch(28.7% 0.042 281.5)
XYZxyz(2.4924, 2.3077, 5.0158)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27283F #3F3E27
analogous
#27343F #27283F #32273F
triadic
#27283F #3F2728 #283F27
tetradic
#27283F #3F2734 #3F3E27 #273F32
square
#27283F #3F2734 #3F3E27 #273F32
split-complementary
#27283F #3F3227 #343F27
monochromatic
#0C0C13 #101019 #27283F #3E4065 #56588B

Accessibility & contrast

On white

14.37
#27283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#27283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27283F
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27283F#FFFFFF#000000##FFFFFF
##27283F1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#20293E
Tritanopia (blue-blind)
#212C30
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #27283f;
/* rgb */ color: rgb(39, 40, 63);
/* oklch */ color: oklch(28.7% 0.042 281.5);
Tailwind
colors: {
  custom: {
    50: '#626174',
    500: '#27283f',
    950: '#000000',
  },
}
SCSS
$custom: #27283f;
$custom-light: #626174;
$custom-dark: #000000;
JSON
{
  "hex": "#27283f",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 237.5,
    "s": 23.529,
    "l": 20
  },
  "oklch": {
    "l": 0.28703,
    "c": 0.04194,
    "h": 281.5
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#27283F
secondary
#717051
accent
#BC68C0
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050508
muted
#79797B

Preview Lab

Preview with #27283F

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

Preview Lab → · Contrast checker → · Palette generator →

#27283F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva