#272CA9#272CA9

#272CA9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.193 H 271.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#272CA9
RGBrgb(39, 44, 169)
HSLhsl(238, 63%, 41%)
HSVhsv(238, 77%, 66%)
CMYKcmyk(76.9%, 74%, 0%, 33.7%)
CIE-LABlab(27.01, 41.64, -66.71)
CIE-LCHlch(27.01, 78.64, 301.97°)
OKLaboklab(38.83% 0.0046 -0.1931)
OKLCHoklch(38.83% 0.193 271.3)
XYZxyz(8.8964, 5.0963, 38.0432)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CA9 #A9A427
analogous
#276DA9 #272CA9 #6327A9
triadic
#272CA9 #A9272C #2CA927
tetradic
#272CA9 #A9276D #A9A427 #27A963
square
#272CA9 #A9276D #A9A427 #27A963
split-complementary
#272CA9 #A96327 #6DA927
monochromatic
#101246 #1C1F77 #272CA9 #3B41D2 #6D71DD

Accessibility & contrast

On white

10.40
#272CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#272CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CA9
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CA9#FFFFFF#000000##FFFFFF
##272CA91.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #272ca9;
/* rgb */ color: rgb(39, 44, 169);
/* oklch */ color: oklch(38.8% 0.193 271.3);
Tailwind
colors: {
  custom: {
    50: '#7866c4',
    500: '#272ca9',
    950: '#000000',
  },
}
SCSS
$custom: #272ca9;
$custom-light: #7866c4;
$custom-dark: #000000;
JSON
{
  "hex": "#272ca9",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 237.692,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38826,
    "c": 0.19319,
    "h": 271.3
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#272CA9
secondary
#C4C068
accent
#DF42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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