#272BBD#272BBD

#272BBD is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.218 H 270.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#272BBD
RGBrgb(39, 43, 189)
HSLhsl(238, 66%, 45%)
HSVhsv(238, 79%, 74%)
CMYKcmyk(79.4%, 77.2%, 0%, 25.9%)
CIE-LABlab(28.98, 48.89, -75.38)
CIE-LCHlch(28.98, 89.85, 302.97°)
OKLaboklab(40.87% 0.0015 -0.2183)
OKLCHoklch(40.87% 0.218 270.4)
XYZxyz(10.8828, 5.8320, 48.6864)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BBD #BDB927
analogous
#2776BD #272BBD #6E27BD
triadic
#272BBD #BD272B #2BBD27
tetradic
#272BBD #BD2776 #BDB927 #27BD6E
square
#272BBD #BD2776 #BDB927 #27BD6E
split-complementary
#272BBD #BD6E27 #76BD27
monochromatic
#121458 #1D1F8A #272BBD #484CD9 #7B7EE4

Accessibility & contrast

On white

9.69
#272BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#272BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BBD
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BBD#FFFFFF#000000##FFFFFF
##272BBD1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #272bbd;
/* rgb */ color: rgb(39, 43, 189);
/* oklch */ color: oklch(40.9% 0.218 270.4);
Tailwind
colors: {
  custom: {
    50: '#7d67d2',
    500: '#272bbd',
    950: '#000000',
  },
}
SCSS
$custom: #272bbd;
$custom-light: #7d67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#272bbd",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 238.4,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40867,
    "c": 0.21831,
    "h": 270.4
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#272BBD
secondary
#CCC974
accent
#E43FE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #272BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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