#272EB0#272EB0

#272EB0 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.200 H 270.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#272EB0
RGBrgb(39, 46, 176)
HSLhsl(237, 64%, 42%)
HSVhsv(237, 78%, 69%)
CMYKcmyk(77.8%, 73.9%, 0%, 31%)
CIE-LABlab(28.16, 42.87, -69.01)
CIE-LCHlch(28.16, 81.24, 301.85°)
OKLaboklab(39.87% 0.0026 -0.1998)
OKLCHoklch(39.87% 0.2 270.7)
XYZxyz(9.6475, 5.5188, 41.6227)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272EB0 #B0A927
analogous
#2773B0 #272EB0 #6427B0
triadic
#272EB0 #B0272E #2EB027
tetradic
#272EB0 #B02773 #B0A927 #27B064
square
#272EB0 #B02773 #B0A927 #27B064
split-complementary
#272EB0 #B06427 #73B027
monochromatic
#11144C #1C217E #272EB0 #4047D5 #7277E0

Accessibility & contrast

On white

9.98
#272EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272EB0
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272EB0#FFFFFF#000000##FFFFFF
##272EB01.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #272eb0;
/* rgb */ color: rgb(39, 46, 176);
/* oklch */ color: oklch(39.9% 0.200 270.7);
Tailwind
colors: {
  custom: {
    50: '#7968c9',
    500: '#272eb0',
    950: '#000000',
  },
}
SCSS
$custom: #272eb0;
$custom-light: #7968c9;
$custom-dark: #000000;
JSON
{
  "hex": "#272eb0",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 236.934,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.19984,
    "h": 270.7
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#272EB0
secondary
#C7C26C
accent
#DE41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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