#272A73#272A73

#272A73 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.123 H 275.6°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#272A73
RGBrgb(39, 42, 115)
HSLhsl(238, 49%, 30%)
HSVhsv(238, 66%, 45%)
CMYKcmyk(66.1%, 63.5%, 0%, 54.9%)
CIE-LABlab(21.30, 23.50, -42.55)
CIE-LCHlch(21.30, 48.61, 298.91°)
OKLaboklab(33.1% 0.012 -0.1225)
OKLCHoklch(33.1% 0.123 275.6)
XYZxyz(4.7582, 3.3247, 16.6073)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A73 #737027
analogous
#275073 #272A73 #4A2773
triadic
#272A73 #73272A #2A7327
tetradic
#272A73 #732750 #737027 #27734A
square
#272A73 #732750 #737027 #27734A
split-complementary
#272A73 #734A27 #507327
monochromatic
#080918 #181945 #272A73 #363BA1 #5155C4

Accessibility & contrast

On white

12.61
#272A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#272A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A73
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A73#FFFFFF#000000##FFFFFF
##272A731.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272a73;
/* rgb */ color: rgb(39, 42, 115);
/* oklch */ color: oklch(33.1% 0.123 275.6);
Tailwind
colors: {
  custom: {
    50: '#6b639c',
    500: '#272a73',
    950: '#000000',
  },
}
SCSS
$custom: #272a73;
$custom-light: #6b639c;
$custom-dark: #000000;
JSON
{
  "hex": "#272a73",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 237.632,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33103,
    "c": 0.12307,
    "h": 275.6
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#272A73
secondary
#A5A250
accent
#D34FD9
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #272A73

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

Preview Lab → · Contrast checker → · Palette generator →

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