#272DBD#272DBD

#272DBD is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.216 H 270.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#272DBD
RGBrgb(39, 45, 189)
HSLhsl(238, 66%, 45%)
HSVhsv(238, 79%, 74%)
CMYKcmyk(79.4%, 76.2%, 0%, 25.9%)
CIE-LABlab(29.36, 47.81, -74.75)
CIE-LCHlch(29.36, 88.73, 302.60°)
OKLaboklab(41.14% 0.0009 -0.2165)
OKLCHoklch(41.14% 0.217 270.2)
XYZxyz(10.9573, 5.9810, 48.7112)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DBD #BDB727
analogous
#2778BD #272DBD #6C27BD
triadic
#272DBD #BD272D #2DBD27
tetradic
#272DBD #BD2778 #BDB727 #27BD6C
square
#272DBD #BD2778 #BDB727 #27BD6C
split-complementary
#272DBD #BD6C27 #78BD27
monochromatic
#121558 #1D218A #272DBD #484ED9 #7B7FE4

Accessibility & contrast

On white

9.56
#272DBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#272DBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DBD
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DBD#FFFFFF#000000##FFFFFF
##272DBD1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003EBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #272dbd;
/* rgb */ color: rgb(39, 45, 189);
/* oklch */ color: oklch(41.1% 0.216 270.2);
Tailwind
colors: {
  custom: {
    50: '#7c68d2',
    500: '#272dbd',
    950: '#000000',
  },
}
SCSS
$custom: #272dbd;
$custom-light: #7c68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#272dbd",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 189
  },
  "hsl": {
    "h": 237.6,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41136,
    "c": 0.2165,
    "h": 270.2
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#272DBD
secondary
#CCC874
accent
#E23FE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #272DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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