#272D67#272D67

#272D67 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.101 H 274.9°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#272D67
RGBrgb(39, 45, 103)
HSLhsl(234, 45%, 28%)
HSVhsv(234, 62%, 40%)
CMYKcmyk(62.1%, 56.3%, 0%, 59.6%)
CIE-LABlab(21.16, 16.92, -35.02)
CIE-LCHlch(21.16, 38.89, 295.78°)
OKLaboklab(32.69% 0.0087 -0.1003)
OKLCHoklch(32.69% 0.101 274.9)
XYZxyz(4.2225, 3.2871, 13.2413)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D67 #676127
analogous
#274D67 #272D67 #412767
triadic
#272D67 #67272D #2D6727
tetradic
#272D67 #67274D #676127 #276741
square
#272D67 #67274D #676127 #276741
split-complementary
#272D67 #674127 #4D6727
monochromatic
#080A16 #161A3B #272D67 #384093 #4D57BC

Accessibility & contrast

On white

12.67
#272D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#272D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D67
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D67#FFFFFF#000000##FFFFFF
##272D671.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3669
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272d67;
/* rgb */ color: rgb(39, 45, 103);
/* oklch */ color: oklch(32.7% 0.101 274.9);
Tailwind
colors: {
  custom: {
    50: '#686593',
    500: '#272d67',
    950: '#000000',
  },
}
SCSS
$custom: #272d67;
$custom-light: #686593;
$custom-dark: #000000;
JSON
{
  "hex": "#272d67",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 234.375,
    "s": 45.07,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32691,
    "c": 0.10069,
    "h": 274.9
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#272D67
secondary
#9A9350
accent
#C953D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #272D67

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

Preview Lab → · Contrast checker → · Palette generator →

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