#272B67#272B67

#272B67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.104 H 276.0°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#272B67
RGBrgb(39, 43, 103)
HSLhsl(236, 45%, 28%)
HSVhsv(236, 62%, 40%)
CMYKcmyk(62.1%, 58.3%, 0%, 59.6%)
CIE-LABlab(20.59, 18.33, -35.94)
CIE-LCHlch(20.59, 40.34, 297.02°)
OKLaboklab(32.26% 0.0109 -0.103)
OKLCHoklch(32.26% 0.104 276)
XYZxyz(4.1480, 3.1381, 13.2165)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B67 #676327
analogous
#274B67 #272B67 #432767
triadic
#272B67 #67272B #2B6727
tetradic
#272B67 #67274B #676327 #276743
square
#272B67 #67274B #676327 #276743
split-complementary
#272B67 #674327 #4B6727
monochromatic
#080916 #16183B #272B67 #383E93 #4D54BC

Accessibility & contrast

On white

12.90
#272B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#272B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B67
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B67#FFFFFF#000000##FFFFFF
##272B671.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023469
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272b67;
/* rgb */ color: rgb(39, 43, 103);
/* oklch */ color: oklch(32.3% 0.104 276.0);
Tailwind
colors: {
  custom: {
    50: '#686493',
    500: '#272b67',
    950: '#000000',
  },
}
SCSS
$custom: #272b67;
$custom-light: #686493;
$custom-dark: #000000;
JSON
{
  "hex": "#272b67",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 103
  },
  "hsl": {
    "h": 236.25,
    "s": 45.07,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32264,
    "c": 0.10363,
    "h": 276
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#272B67
secondary
#9A9550
accent
#CD53D5
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #272B67

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

Preview Lab → · Contrast checker → · Palette generator →

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