#272D9B#272D9B

#272D9B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.174 H 272.0°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#272D9B
RGBrgb(39, 45, 155)
HSLhsl(237, 60%, 38%)
HSVhsv(237, 75%, 61%)
CMYKcmyk(74.8%, 71%, 0%, 39.2%)
CIE-LABlab(25.78, 36.14, -60.23)
CIE-LCHlch(25.78, 70.25, 300.97°)
OKLaboklab(37.52% 0.0061 -0.1743)
OKLCHoklch(37.52% 0.174 272)
XYZxyz(7.6895, 4.6739, 31.5009)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D9B #9B9527
analogous
#27679B #272D9B #5B279B
triadic
#272D9B #9B272D #2D9B27
tetradic
#272D9B #9B2767 #9B9527 #279B5B
square
#272D9B #9B2767 #9B9527 #279B5B
split-complementary
#272D9B #9B5B27 #679B27
monochromatic
#0E1139 #1B1F6A #272D9B #333BCC #646AD8

Accessibility & contrast

On white

10.85
#272D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#272D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D9B
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D9B#FFFFFF#000000##FFFFFF
##272D9B1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272d9b;
/* rgb */ color: rgb(39, 45, 155);
/* oklch */ color: oklch(37.5% 0.174 272.0);
Tailwind
colors: {
  custom: {
    50: '#7466ba',
    500: '#272d9b',
    950: '#000000',
  },
}
SCSS
$custom: #272d9b;
$custom-light: #7466ba;
$custom-dark: #000000;
JSON
{
  "hex": "#272d9b",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 236.897,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37518,
    "c": 0.17438,
    "h": 272
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#272D9B
secondary
#BEB960
accent
#DB45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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