#272B60#272B60

#272B60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.093 H 276.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#272B60
RGBrgb(39, 43, 96)
HSLhsl(236, 42%, 26%)
HSVhsv(236, 59%, 38%)
CMYKcmyk(59.4%, 55.2%, 0%, 62.4%)
CIE-LABlab(20.06, 15.72, -32.21)
CIE-LCHlch(20.06, 35.84, 296.01°)
OKLaboklab(31.7% 0.0105 -0.0921)
OKLCHoklch(31.7% 0.093 276.5)
XYZxyz(3.8112, 3.0034, 11.4429)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B60 #605C27
analogous
#274860 #272B60 #402760
triadic
#272B60 #60272B #2B6027
tetradic
#272B60 #602748 #605C27 #276040
square
#272B60 #602748 #605C27 #276040
split-complementary
#272B60 #604027 #486027
monochromatic
#090A16 #151834 #272B60 #393E8C #4B53B6

Accessibility & contrast

On white

13.12
#272B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#272B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B60
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B60#FFFFFF#000000##FFFFFF
##272B601.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3362
Deuteranopia (green-blind)
#052E5F
Tritanopia (blue-blind)
#093741
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #272b60;
/* rgb */ color: rgb(39, 43, 96);
/* oklch */ color: oklch(31.7% 0.093 276.5);
Tailwind
colors: {
  custom: {
    50: '#67648d',
    500: '#272b60',
    950: '#000000',
  },
}
SCSS
$custom: #272b60;
$custom-light: #67648d;
$custom-dark: #000000;
JSON
{
  "hex": "#272b60",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 235.789,
    "s": 42.222,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31697,
    "c": 0.09267,
    "h": 276.5
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#272B60
secondary
#938E50
accent
#C956D2
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #272B60

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

Preview Lab → · Contrast checker → · Palette generator →

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