#272DA3#272DA3

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

Color values

HEX#272DA3
RGBrgb(39, 45, 163)
HSLhsl(237, 61%, 40%)
HSVhsv(237, 76%, 64%)
CMYKcmyk(76.1%, 72.4%, 0%, 36.1%)
CIE-LABlab(26.60, 38.97, -63.77)
CIE-LCHlch(26.60, 74.73, 301.43°)
OKLaboklab(38.35% 0.005 -0.1846)
OKLCHoklch(38.35% 0.185 271.5)
XYZxyz(8.3837, 4.9516, 35.1571)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DA3 #A39D27
analogous
#276BA3 #272DA3 #5F27A3
triadic
#272DA3 #A3272D #2DA327
tetradic
#272DA3 #A3276B #A39D27 #27A35F
square
#272DA3 #A3276B #A39D27 #27A35F
split-complementary
#272DA3 #A35F27 #6BA327
monochromatic
#0F1240 #1B1F72 #272DA3 #383FCF #696FDB

Accessibility & contrast

On white

10.55
#272DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#272DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DA3
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DA3#FFFFFF#000000##FFFFFF
##272DA31.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272da3;
/* rgb */ color: rgb(39, 45, 163);
/* oklch */ color: oklch(38.3% 0.185 271.5);
Tailwind
colors: {
  custom: {
    50: '#7667bf',
    500: '#272da3',
    950: '#000000',
  },
}
SCSS
$custom: #272da3;
$custom-light: #7667bf;
$custom-dark: #000000;
JSON
{
  "hex": "#272da3",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 237.097,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.18464,
    "h": 271.5
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#272DA3
secondary
#C1BD64
accent
#DD43E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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