#272FAE#272FAE

#272FAE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.196 H 270.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#272FAE
RGBrgb(39, 47, 174)
HSLhsl(236, 63%, 42%)
HSVhsv(236, 78%, 68%)
CMYKcmyk(77.6%, 73%, 0%, 31.8%)
CIE-LABlab(28.17, 41.59, -67.81)
CIE-LCHlch(28.17, 79.55, 301.53°)
OKLaboklab(39.81% 0.0025 -0.1963)
OKLCHoklch(39.81% 0.196 270.7)
XYZxyz(9.4906, 5.5193, 40.6013)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272FAE #AEA627
analogous
#2773AE #272FAE #6227AE
triadic
#272FAE #AE272F #2FAE27
tetradic
#272FAE #AE2773 #AEA627 #27AE62
square
#272FAE #AE2773 #AEA627 #27AE62
split-complementary
#272FAE #AE6227 #73AE27
monochromatic
#11144A #1C217C #272FAE #3E47D4 #7077DF

Accessibility & contrast

On white

9.98
#272FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#272FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272FAE
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272FAE#FFFFFF#000000##FFFFFF
##272FAE1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #272fae;
/* rgb */ color: rgb(39, 47, 174);
/* oklch */ color: oklch(39.8% 0.196 270.7);
Tailwind
colors: {
  custom: {
    50: '#7969c7',
    500: '#272fae',
    950: '#000000',
  },
}
SCSS
$custom: #272fae;
$custom-light: #7969c7;
$custom-dark: #000000;
JSON
{
  "hex": "#272fae",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 236.444,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39809,
    "c": 0.19636,
    "h": 270.7
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#272FAE
secondary
#C6C16B
accent
#DD41E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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