#272FB0#272FB0

#272FB0 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.199 H 270.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#272FB0
RGBrgb(39, 47, 176)
HSLhsl(236, 64%, 42%)
HSVhsv(236, 78%, 69%)
CMYKcmyk(77.8%, 73.3%, 0%, 31%)
CIE-LABlab(28.37, 42.28, -68.66)
CIE-LCHlch(28.37, 80.63, 301.63°)
OKLaboklab(40.02% 0.0022 -0.1988)
OKLCHoklch(40.02% 0.199 270.6)
XYZxyz(9.6870, 5.5979, 41.6358)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272FB0 #B0A827
analogous
#2774B0 #272FB0 #6327B0
triadic
#272FB0 #B0272F #2FB027
tetradic
#272FB0 #B02774 #B0A827 #27B063
square
#272FB0 #B02774 #B0A827 #27B063
split-complementary
#272FB0 #B06327 #74B027
monochromatic
#11144C #1C227E #272FB0 #4048D5 #7278E0

Accessibility & contrast

On white

9.91
#272FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#272FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272FB0
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272FB0#FFFFFF#000000##FFFFFF
##272FB01.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #272fb0;
/* rgb */ color: rgb(39, 47, 176);
/* oklch */ color: oklch(40.0% 0.199 270.6);
Tailwind
colors: {
  custom: {
    50: '#7969c9',
    500: '#272fb0',
    950: '#000000',
  },
}
SCSS
$custom: #272fb0;
$custom-light: #7969c9;
$custom-dark: #000000;
JSON
{
  "hex": "#272fb0",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 236.496,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4002,
    "c": 0.19883,
    "h": 270.6
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#272FB0
secondary
#C7C16C
accent
#DD41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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