#272CAF#272CAF

#272CAF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.201 H 271.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#272CAF
RGBrgb(39, 44, 175)
HSLhsl(238, 64%, 42%)
HSVhsv(238, 78%, 69%)
CMYKcmyk(77.7%, 74.9%, 0%, 31.4%)
CIE-LABlab(27.65, 43.69, -69.26)
CIE-LCHlch(27.65, 81.89, 302.24°)
OKLaboklab(39.47% 0.0036 -0.2006)
OKLCHoklch(39.47% 0.201 271)
XYZxyz(9.4726, 5.3268, 41.0781)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CAF #AFAA27
analogous
#2770AF #272CAF #6627AF
triadic
#272CAF #AF272C #2CAF27
tetradic
#272CAF #AF2770 #AFAA27 #27AF66
square
#272CAF #AF2770 #AFAA27 #27AF66
split-complementary
#272CAF #AF6627 #70AF27
monochromatic
#11134B #1C1F7D #272CAF #3F44D4 #7175DF

Accessibility & contrast

On white

10.17
#272CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#272CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CAF
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CAF#FFFFFF#000000##FFFFFF
##272CAF1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272caf;
/* rgb */ color: rgb(39, 44, 175);
/* oklch */ color: oklch(39.5% 0.201 271.0);
Tailwind
colors: {
  custom: {
    50: '#7967c8',
    500: '#272caf',
    950: '#000000',
  },
}
SCSS
$custom: #272caf;
$custom-light: #7967c8;
$custom-dark: #000000;
JSON
{
  "hex": "#272caf",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 237.794,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.3947,
    "c": 0.20059,
    "h": 271
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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