#272A9C#272A9C

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

Color values

HEX#272A9C
RGBrgb(39, 42, 156)
HSLhsl(238, 60%, 38%)
HSVhsv(238, 75%, 61%)
CMYKcmyk(75%, 73.1%, 0%, 38.8%)
CIE-LABlab(25.22, 38.33, -61.78)
CIE-LCHlch(25.22, 72.70, 301.82°)
OKLaboklab(37.14% 0.0076 -0.1788)
OKLCHoklch(37.14% 0.179 272.4)
XYZxyz(7.6634, 4.4868, 31.9082)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A9C #9C9927
analogous
#27649C #272A9C #5F279C
triadic
#272A9C #9C272A #2A9C27
tetradic
#272A9C #9C2764 #9C9927 #279C5F
square
#272A9C #9C2764 #9C9927 #279C5F
split-complementary
#272A9C #9C5F27 #649C27
monochromatic
#0F103A #1B1D6B #272A9C #3438CC #6568D8

Accessibility & contrast

On white

11.07
#272A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272A9C
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A9C#FFFFFF#000000##FFFFFF
##272A9C1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272a9c;
/* rgb */ color: rgb(39, 42, 156);
/* oklch */ color: oklch(37.1% 0.179 272.4);
Tailwind
colors: {
  custom: {
    50: '#7565ba',
    500: '#272a9c',
    950: '#000000',
  },
}
SCSS
$custom: #272a9c;
$custom-light: #7565ba;
$custom-dark: #000000;
JSON
{
  "hex": "#272a9c",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 238.462,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37143,
    "c": 0.17892,
    "h": 272.4
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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