#272BAE#272BAE

#272BAE is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.2% C 0.200 H 271.2°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#272BAE
RGBrgb(39, 43, 174)
HSLhsl(238, 63%, 42%)
HSVhsv(238, 78%, 68%)
CMYKcmyk(77.6%, 75.3%, 0%, 31.8%)
CIE-LABlab(27.34, 43.92, -69.18)
CIE-LCHlch(27.34, 81.94, 302.41°)
OKLaboklab(39.22% 0.0041 -0.2003)
OKLCHoklch(39.22% 0.2 271.2)
XYZxyz(9.3380, 5.2141, 40.5505)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BAE #AEAA27
analogous
#276FAE #272BAE #6727AE
triadic
#272BAE #AE272B #2BAE27
tetradic
#272BAE #AE276F #AEAA27 #27AE67
square
#272BAE #AE276F #AEAA27 #27AE67
split-complementary
#272BAE #AE6727 #6FAE27
monochromatic
#11124A #1C1F7C #272BAE #3E43D4 #7074DF

Accessibility & contrast

On white

10.28
#272BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#272BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BAE
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BAE#FFFFFF#000000##FFFFFF
##272BAE1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272bae;
/* rgb */ color: rgb(39, 43, 174);
/* oklch */ color: oklch(39.2% 0.200 271.2);
Tailwind
colors: {
  custom: {
    50: '#7966c7',
    500: '#272bae',
    950: '#000000',
  },
}
SCSS
$custom: #272bae;
$custom-light: #7966c7;
$custom-dark: #000000;
JSON
{
  "hex": "#272bae",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 238.222,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39218,
    "c": 0.20034,
    "h": 271.2
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#272BAE
secondary
#C6C36B
accent
#E241E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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