#272BA8#272BA8

#272BA8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.193 H 271.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#272BA8
RGBrgb(39, 43, 168)
HSLhsl(238, 62%, 41%)
HSVhsv(238, 77%, 66%)
CMYKcmyk(76.8%, 74.4%, 0%, 34.1%)
CIE-LABlab(26.69, 41.88, -66.63)
CIE-LCHlch(26.69, 78.70, 302.15°)
OKLaboklab(38.57% 0.0052 -0.1929)
OKLCHoklch(38.57% 0.193 271.5)
XYZxyz(8.7661, 4.9853, 37.5385)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BA8 #A8A427
analogous
#276BA8 #272BA8 #6427A8
triadic
#272BA8 #A8272B #2BA827
tetradic
#272BA8 #A8276B #A8A427 #27A864
square
#272BA8 #A8276B #A8A427 #27A864
split-complementary
#272BA8 #A86427 #6BA827
monochromatic
#101245 #1B1E76 #272BA8 #3B3FD1 #6C70DD

Accessibility & contrast

On white

10.51
#272BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#272BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BA8
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BA8#FFFFFF#000000##FFFFFF
##272BA81.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272ba8;
/* rgb */ color: rgb(39, 43, 168);
/* oklch */ color: oklch(38.6% 0.193 271.5);
Tailwind
colors: {
  custom: {
    50: '#7766c3',
    500: '#272ba8',
    950: '#000000',
  },
}
SCSS
$custom: #272ba8;
$custom-light: #7766c3;
$custom-dark: #000000;
JSON
{
  "hex": "#272ba8",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 238.14,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3857,
    "c": 0.19296,
    "h": 271.5
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#272BA8
secondary
#C3C167
accent
#E042E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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