#272B9A#272B9A

#272B9A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.175 H 272.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#272B9A
RGBrgb(39, 43, 154)
HSLhsl(238, 60%, 38%)
HSVhsv(238, 75%, 60%)
CMYKcmyk(74.7%, 72.1%, 0%, 39.6%)
CIE-LABlab(25.23, 37.03, -60.53)
CIE-LCHlch(25.23, 70.96, 301.45°)
OKLaboklab(37.09% 0.0073 -0.1751)
OKLCHoklch(37.09% 0.175 272.4)
XYZxyz(7.5313, 4.4914, 31.0356)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B9A #9A9627
analogous
#27649A #272B9A #5C279A
triadic
#272B9A #9A272B #2B9A27
tetradic
#272B9A #9A2764 #9A9627 #279A5C
square
#272B9A #9A2764 #9A9627 #279A5C
split-complementary
#272B9A #9A5C27 #649A27
monochromatic
#0E1038 #1B1D69 #272B9A #3339CB #6468D8

Accessibility & contrast

On white

11.06
#272B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#272B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B9A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B9A#FFFFFF#000000##FFFFFF
##272B9A1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272b9a;
/* rgb */ color: rgb(39, 43, 154);
/* oklch */ color: oklch(37.1% 0.175 272.4);
Tailwind
colors: {
  custom: {
    50: '#7465b9',
    500: '#272b9a',
    950: '#000000',
  },
}
SCSS
$custom: #272b9a;
$custom-light: #7465b9;
$custom-dark: #000000;
JSON
{
  "hex": "#272b9a",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 237.913,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37092,
    "c": 0.17528,
    "h": 272.4
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

primary
#272B9A
secondary
#BDBA5F
accent
#DD45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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