#272E50#272E50

#272E50 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.062 H 273.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#272E50
RGBrgb(39, 46, 80)
HSLhsl(230, 34%, 23%)
HSVhsv(230, 51%, 31%)
CMYKcmyk(51.2%, 42.5%, 0%, 68.6%)
CIE-LABlab(19.90, 7.73, -21.83)
CIE-LCHlch(19.90, 23.16, 289.50°)
OKLaboklab(31.23% 0.0038 -0.0616)
OKLCHoklch(31.23% 0.062 273.5)
XYZxyz(3.2612, 2.9643, 7.9882)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E50 #504927
analogous
#274250 #272E50 #342750
triadic
#272E50 #50272E #2E5027
tetradic
#272E50 #502742 #504927 #275034
square
#272E50 #502742 #504927 #275034
split-complementary
#272E50 #503427 #425027
monochromatic
#0A0C15 #131627 #272E50 #3B4679 #4F5DA2

Accessibility & contrast

On white

13.18
#272E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#272E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E50
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E50#FFFFFF#000000##FFFFFF
##272E501.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213251
Deuteranopia (green-blind)
#1E2E4F
Tritanopia (blue-blind)
#18353B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #272e50;
/* rgb */ color: rgb(39, 46, 80);
/* oklch */ color: oklch(31.2% 0.062 273.5);
Tailwind
colors: {
  custom: {
    50: '#646681',
    500: '#272e50',
    950: '#000000',
  },
}
SCSS
$custom: #272e50;
$custom-light: #646681;
$custom-dark: #000000;
JSON
{
  "hex": "#272e50",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 229.756,
    "s": 34.454,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31232,
    "c": 0.06172,
    "h": 273.5
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#272E50
secondary
#837A50
accent
#B85DCB
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #272E50

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

Preview Lab → · Contrast checker → · Palette generator →

#272E50 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva