#272A9F#272A9F

#272A9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.183 H 272.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#272A9F
RGBrgb(39, 42, 159)
HSLhsl(239, 61%, 39%)
HSVhsv(239, 75%, 62%)
CMYKcmyk(75.5%, 73.6%, 0%, 37.6%)
CIE-LABlab(25.53, 39.38, -63.09)
CIE-LCHlch(25.53, 74.37, 301.97°)
OKLaboklab(37.46% 0.0071 -0.1826)
OKLCHoklch(37.46% 0.183 272.2)
XYZxyz(7.9206, 4.5896, 33.2626)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A9F #9F9C27
analogous
#27669F #272A9F #60279F
triadic
#272A9F #9F272A #2A9F27
tetradic
#272A9F #9F2766 #9F9C27 #279F60
square
#272A9F #9F2766 #9F9C27 #279F60
split-complementary
#272A9F #9F6027 #669F27
monochromatic
#0F103D #1B1D6E #272A9F #3639CE #676ADA

Accessibility & contrast

On white

10.95
#272A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#272A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A9F
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A9F#FFFFFF#000000##FFFFFF
##272A9F1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272a9f;
/* rgb */ color: rgb(39, 42, 159);
/* oklch */ color: oklch(37.5% 0.183 272.2);
Tailwind
colors: {
  custom: {
    50: '#7565bd',
    500: '#272a9f',
    950: '#000000',
  },
}
SCSS
$custom: #272a9f;
$custom-light: #7565bd;
$custom-dark: #000000;
JSON
{
  "hex": "#272a9f",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 238.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3746,
    "c": 0.18273,
    "h": 272.2
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#272A9F
secondary
#C0BD62
accent
#E044E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #272A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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