#272B66#272B66

#272B66 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.102 H 276.1°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#272B66
RGBrgb(39, 43, 102)
HSLhsl(236, 45%, 28%)
HSVhsv(236, 62%, 40%)
CMYKcmyk(61.8%, 57.8%, 0%, 60%)
CIE-LABlab(20.51, 17.95, -35.42)
CIE-LCHlch(20.51, 39.71, 296.88°)
OKLaboklab(32.18% 0.0109 -0.1015)
OKLCHoklch(32.18% 0.102 276.1)
XYZxyz(4.0981, 3.1181, 12.9537)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B66 #666227
analogous
#274B66 #272B66 #422766
triadic
#272B66 #66272B #2B6627
tetradic
#272B66 #66274B #666227 #276642
square
#272B66 #66274B #666227 #276642
split-complementary
#272B66 #664227 #4B6627
monochromatic
#080916 #16183A #272B66 #383E92 #4D54BB

Accessibility & contrast

On white

12.93
#272B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#272B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B66
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B66#FFFFFF#000000##FFFFFF
##272B661.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043468
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #272b66;
/* rgb */ color: rgb(39, 43, 102);
/* oklch */ color: oklch(32.2% 0.102 276.1);
Tailwind
colors: {
  custom: {
    50: '#686492',
    500: '#272b66',
    950: '#000000',
  },
}
SCSS
$custom: #272b66;
$custom-light: #686492;
$custom-dark: #000000;
JSON
{
  "hex": "#272b66",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 236.19,
    "s": 44.681,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32181,
    "c": 0.10208,
    "h": 276.1
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#272B66
secondary
#999450
accent
#CC53D4
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #272B66

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

Preview Lab → · Contrast checker → · Palette generator →

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