#272A9A#272A9A

#272A9A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.176 H 272.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#272A9A
RGBrgb(39, 42, 154)
HSLhsl(238, 60%, 38%)
HSVhsv(238, 75%, 60%)
CMYKcmyk(74.7%, 72.7%, 0%, 39.6%)
CIE-LABlab(25.01, 37.64, -60.89)
CIE-LCHlch(25.01, 71.59, 301.72°)
OKLaboklab(36.93% 0.0079 -0.1762)
OKLCHoklch(36.93% 0.176 272.6)
XYZxyz(7.4954, 4.4196, 31.0236)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A9A #9A9727
analogous
#27639A #272A9A #5E279A
triadic
#272A9A #9A272A #2A9A27
tetradic
#272A9A #9A2763 #9A9727 #279A5E
square
#272A9A #9A2763 #9A9727 #279A5E
split-complementary
#272A9A #9A5E27 #639A27
monochromatic
#0E0F38 #1B1D69 #272A9A #3337CB #6467D8

Accessibility & contrast

On white

11.15
#272A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#272A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A9A
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A9A#FFFFFF#000000##FFFFFF
##272A9A1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272a9a;
/* rgb */ color: rgb(39, 42, 154);
/* oklch */ color: oklch(36.9% 0.176 272.6);
Tailwind
colors: {
  custom: {
    50: '#7464b9',
    500: '#272a9a',
    950: '#000000',
  },
}
SCSS
$custom: #272a9a;
$custom-light: #7464b9;
$custom-dark: #000000;
JSON
{
  "hex": "#272a9a",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 238.435,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36933,
    "c": 0.17636,
    "h": 272.6
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#272A9A
secondary
#BDBB5F
accent
#DF45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #272A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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