#272A67#272A67

#272A67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.105 H 276.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#272A67
RGBrgb(39, 42, 103)
HSLhsl(237, 45%, 28%)
HSVhsv(237, 62%, 40%)
CMYKcmyk(62.1%, 59.2%, 0%, 59.6%)
CIE-LABlab(20.31, 19.03, -36.40)
CIE-LCHlch(20.31, 41.07, 297.60°)
OKLaboklab(32.05% 0.012 -0.1044)
OKLCHoklch(32.05% 0.105 276.6)
XYZxyz(4.1121, 3.0662, 13.2045)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A67 #676427
analogous
#274A67 #272A67 #442767
triadic
#272A67 #67272A #2A6727
tetradic
#272A67 #67274A #676427 #276744
square
#272A67 #67274A #676427 #276744
split-complementary
#272A67 #674427 #4A6727
monochromatic
#080916 #16183B #272A67 #383C93 #4D52BC

Accessibility & contrast

On white

13.02
#272A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#272A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A67
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A67#FFFFFF#000000##FFFFFF
##272A671.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #272a67;
/* rgb */ color: rgb(39, 42, 103);
/* oklch */ color: oklch(32.1% 0.105 276.6);
Tailwind
colors: {
  custom: {
    50: '#686393',
    500: '#272a67',
    950: '#000000',
  },
}
SCSS
$custom: #272a67;
$custom-light: #686393;
$custom-dark: #000000;
JSON
{
  "hex": "#272a67",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 237.188,
    "s": 45.07,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32054,
    "c": 0.10509,
    "h": 276.6
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#272A67
secondary
#9A9650
accent
#CF53D5
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #272A67

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

Preview Lab → · Contrast checker → · Palette generator →

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