#272D9A#272D9A

#272D9A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.173 H 272.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#272D9A
RGBrgb(39, 45, 154)
HSLhsl(237, 60%, 38%)
HSVhsv(237, 75%, 60%)
CMYKcmyk(74.7%, 70.8%, 0%, 39.6%)
CIE-LABlab(25.68, 35.79, -59.79)
CIE-LCHlch(25.68, 69.68, 300.90°)
OKLaboklab(37.42% 0.0062 -0.173)
OKLCHoklch(37.42% 0.173 272.1)
XYZxyz(7.6059, 4.6404, 31.0604)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D9A #9A9427
analogous
#27669A #272D9A #5B279A
triadic
#272D9A #9A272D #2D9A27
tetradic
#272D9A #9A2766 #9A9427 #279A5B
square
#272D9A #9A2766 #9A9427 #279A5B
split-complementary
#272D9A #9A5B27 #669A27
monochromatic
#0E1038 #1B1F69 #272D9A #333BCB #646AD8

Accessibility & contrast

On white

10.89
#272D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#272D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D9A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D9A#FFFFFF#000000##FFFFFF
##272D9A1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272d9a;
/* rgb */ color: rgb(39, 45, 154);
/* oklch */ color: oklch(37.4% 0.173 272.1);
Tailwind
colors: {
  custom: {
    50: '#7466b9',
    500: '#272d9a',
    950: '#000000',
  },
}
SCSS
$custom: #272d9a;
$custom-light: #7466b9;
$custom-dark: #000000;
JSON
{
  "hex": "#272d9a",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 236.87,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37416,
    "c": 0.17307,
    "h": 272.1
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#272D9A
secondary
#BDB85F
accent
#DB45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #272D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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