#272BA6#272BA6

#272BA6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.190 H 271.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#272BA6
RGBrgb(39, 43, 166)
HSLhsl(238, 62%, 40%)
HSVhsv(238, 77%, 65%)
CMYKcmyk(76.5%, 74.1%, 0%, 34.9%)
CIE-LABlab(26.48, 41.20, -65.77)
CIE-LCHlch(26.48, 77.61, 302.06°)
OKLaboklab(38.36% 0.0055 -0.1904)
OKLCHoklch(38.36% 0.19 271.6)
XYZxyz(8.5812, 4.9113, 36.5647)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BA6 #A6A227
analogous
#276BA6 #272BA6 #6227A6
triadic
#272BA6 #A6272B #2BA627
tetradic
#272BA6 #A6276B #A6A227 #27A662
square
#272BA6 #A6276B #A6A227 #27A662
split-complementary
#272BA6 #A66227 #6BA627
monochromatic
#101143 #1B1E74 #272BA6 #3A3ED1 #6B6FDC

Accessibility & contrast

On white

10.59
#272BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#272BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BA6
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BA6#FFFFFF#000000##FFFFFF
##272BA61.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272ba6;
/* rgb */ color: rgb(39, 43, 166);
/* oklch */ color: oklch(38.4% 0.190 271.6);
Tailwind
colors: {
  custom: {
    50: '#7766c2',
    500: '#272ba6',
    950: '#000000',
  },
}
SCSS
$custom: #272ba6;
$custom-light: #7766c2;
$custom-dark: #000000;
JSON
{
  "hex": "#272ba6",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 238.11,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38356,
    "c": 0.19048,
    "h": 271.6
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#272BA6
secondary
#C3C066
accent
#E043E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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