#272CB0#272CB0

#272CB0 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.6% C 0.202 H 271.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#272CB0
RGBrgb(39, 44, 176)
HSLhsl(238, 64%, 42%)
HSVhsv(238, 78%, 69%)
CMYKcmyk(77.8%, 75%, 0%, 31%)
CIE-LABlab(27.75, 44.03, -69.68)
CIE-LCHlch(27.75, 82.43, 302.28°)
OKLaboklab(39.58% 0.0034 -0.2018)
OKLCHoklch(39.58% 0.202 271)
XYZxyz(9.5712, 5.3662, 41.5972)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CB0 #B0AB27
analogous
#2771B0 #272CB0 #6627B0
triadic
#272CB0 #B0272C #2CB027
tetradic
#272CB0 #B02771 #B0AB27 #27B066
square
#272CB0 #B02771 #B0AB27 #27B066
split-complementary
#272CB0 #B06627 #71B027
monochromatic
#11134C #1C1F7E #272CB0 #4045D5 #7276E0

Accessibility & contrast

On white

10.13
#272CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272CB0
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CB0#FFFFFF#000000##FFFFFF
##272CB01.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003BAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #272cb0;
/* rgb */ color: rgb(39, 44, 176);
/* oklch */ color: oklch(39.6% 0.202 271.0);
Tailwind
colors: {
  custom: {
    50: '#7967c9',
    500: '#272cb0',
    950: '#000000',
  },
}
SCSS
$custom: #272cb0;
$custom-light: #7967c9;
$custom-dark: #000000;
JSON
{
  "hex": "#272cb0",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 237.81,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.20181,
    "h": 271
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#272CB0
secondary
#C7C36C
accent
#E141E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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