#272EB3#272EB3

#272EB3 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.204 H 270.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#272EB3
RGBrgb(39, 46, 179)
HSLhsl(237, 64%, 43%)
HSVhsv(237, 78%, 70%)
CMYKcmyk(78.2%, 74.3%, 0%, 29.8%)
CIE-LABlab(28.48, 43.89, -70.27)
CIE-LCHlch(28.48, 82.85, 301.99°)
OKLaboklab(40.19% 0.0021 -0.2035)
OKLCHoklch(40.19% 0.204 270.6)
XYZxyz(9.9476, 5.6389, 43.2032)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272EB3 #B3AC27
analogous
#2774B3 #272EB3 #6627B3
triadic
#272EB3 #B3272E #2EB327
tetradic
#272EB3 #B32774 #B3AC27 #27B366
square
#272EB3 #B32774 #B3AC27 #27B366
split-complementary
#272EB3 #B36627 #74B327
monochromatic
#11144E #1C2181 #272EB3 #4149D6 #7479E1

Accessibility & contrast

On white

9.87
#272EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#272EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272EB3
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272EB3#FFFFFF#000000##FFFFFF
##272EB31.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #272eb3;
/* rgb */ color: rgb(39, 46, 179);
/* oklch */ color: oklch(40.2% 0.204 270.6);
Tailwind
colors: {
  custom: {
    50: '#7a68cb',
    500: '#272eb3',
    950: '#000000',
  },
}
SCSS
$custom: #272eb3;
$custom-light: #7a68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#272eb3",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 237,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.20351,
    "h": 270.6
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#272EB3
secondary
#C8C36E
accent
#DF41E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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