#272FBA#272FBA

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

Color values

HEX#272FBA
RGBrgb(39, 47, 186)
HSLhsl(237, 65%, 44%)
HSVhsv(237, 79%, 73%)
CMYKcmyk(79%, 74.7%, 0%, 27.1%)
CIE-LABlab(29.43, 45.69, -72.86)
CIE-LCHlch(29.43, 86.00, 302.09°)
OKLaboklab(41.09% 0.0007 -0.211)
OKLCHoklch(41.09% 0.211 270.2)
XYZxyz(10.7131, 6.0083, 47.0400)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272FBA #BAB227
analogous
#2779BA #272FBA #6927BA
triadic
#272FBA #BA272F #2FBA27
tetradic
#272FBA #BA2779 #BAB227 #27BA69
square
#272FBA #BA2779 #BAB227 #27BA69
split-complementary
#272FBA #BA6927 #79BA27
monochromatic
#121555 #1C2287 #272FBA #464ED8 #797EE3

Accessibility & contrast

On white

9.54
#272FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272FBA
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272FBA#FFFFFF#000000##FFFFFF
##272FBA1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#003EB8
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #272fba;
/* rgb */ color: rgb(39, 47, 186);
/* oklch */ color: oklch(41.1% 0.211 270.2);
Tailwind
colors: {
  custom: {
    50: '#7c69d0',
    500: '#272fba',
    950: '#000000',
  },
}
SCSS
$custom: #272fba;
$custom-light: #7c69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#272fba",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 236.735,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41089,
    "c": 0.21103,
    "h": 270.2
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#272FBA
secondary
#CBC672
accent
#DF40E8
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #272FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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