#272CB3#272CB3

#272CB3 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.9% C 0.205 H 270.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#272CB3
RGBrgb(39, 44, 179)
HSLhsl(238, 64%, 43%)
HSVhsv(238, 78%, 70%)
CMYKcmyk(78.2%, 75.4%, 0%, 29.8%)
CIE-LABlab(28.08, 45.04, -70.94)
CIE-LCHlch(28.08, 84.03, 302.41°)
OKLaboklab(39.9% 0.0029 -0.2054)
OKLCHoklch(39.9% 0.205 270.8)
XYZxyz(9.8713, 5.4863, 43.1778)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CB3 #B3AE27
analogous
#2772B3 #272CB3 #6827B3
triadic
#272CB3 #B3272C #2CB327
tetradic
#272CB3 #B32772 #B3AE27 #27B368
square
#272CB3 #B32772 #B3AE27 #27B368
split-complementary
#272CB3 #B36827 #72B327
monochromatic
#11134E #1C2081 #272CB3 #4147D6 #7478E1

Accessibility & contrast

On white

10.01
#272CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#272CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CB3
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CB3#FFFFFF#000000##FFFFFF
##272CB31.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #272cb3;
/* rgb */ color: rgb(39, 44, 179);
/* oklch */ color: oklch(39.9% 0.205 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a67cb',
    500: '#272cb3',
    950: '#000000',
  },
}
SCSS
$custom: #272cb3;
$custom-light: #7a67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#272cb3",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 237.857,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39904,
    "c": 0.20545,
    "h": 270.8
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#272CB3
secondary
#C8C56E
accent
#E141E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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