#272A9D#272A9D

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

Color values

HEX#272A9D
RGBrgb(39, 42, 157)
HSLhsl(238, 60%, 38%)
HSVhsv(238, 75%, 62%)
CMYKcmyk(75.2%, 73.2%, 0%, 38.4%)
CIE-LABlab(25.32, 38.68, -62.22)
CIE-LCHlch(25.32, 73.26, 301.87°)
OKLaboklab(37.25% 0.0074 -0.18)
OKLCHoklch(37.25% 0.18 272.4)
XYZxyz(7.7484, 4.5208, 32.3560)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A9D #9D9A27
analogous
#27659D #272A9D #5F279D
triadic
#272A9D #9D272A #2A9D27
tetradic
#272A9D #9D2765 #9D9A27 #279D5F
square
#272A9D #9D2765 #9D9A27 #279D5F
split-complementary
#272A9D #9D5F27 #659D27
monochromatic
#0F103B #1B1D6C #272A9D #3538CD #6668D9

Accessibility & contrast

On white

11.03
#272A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272A9D
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A9D#FFFFFF#000000##FFFFFF
##272A9D1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272a9d;
/* rgb */ color: rgb(39, 42, 157);
/* oklch */ color: oklch(37.2% 0.180 272.4);
Tailwind
colors: {
  custom: {
    50: '#7565bb',
    500: '#272a9d',
    950: '#000000',
  },
}
SCSS
$custom: #272a9d;
$custom-light: #7565bb;
$custom-dark: #000000;
JSON
{
  "hex": "#272a9d",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 238.475,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37249,
    "c": 0.18019,
    "h": 272.4
  },
  "luminance": 0.04522
}

Semantic roles & 50–950 ramp

primary
#272A9D
secondary
#BFBC61
accent
#DF44E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #272A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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