#272E9D#272E9D

#272E9D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.176 H 271.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#272E9D
RGBrgb(39, 46, 157)
HSLhsl(236, 60%, 38%)
HSVhsv(236, 75%, 62%)
CMYKcmyk(75.2%, 70.7%, 0%, 38.4%)
CIE-LABlab(26.21, 36.23, -60.75)
CIE-LCHlch(26.21, 70.74, 300.81°)
OKLaboklab(37.89% 0.0053 -0.1758)
OKLCHoklch(37.89% 0.176 271.7)
XYZxyz(7.8974, 4.8188, 32.4057)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E9D #9D9627
analogous
#27699D #272E9D #5B279D
triadic
#272E9D #9D272E #2E9D27
tetradic
#272E9D #9D2769 #9D9627 #279D5B
square
#272E9D #9D2769 #9D9627 #279D5B
split-complementary
#272E9D #9D5B27 #699D27
monochromatic
#0F113B #1B206C #272E9D #353ECD #666CD9

Accessibility & contrast

On white

10.69
#272E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#272E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E9D
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E9D#FFFFFF#000000##FFFFFF
##272E9D1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272e9d;
/* rgb */ color: rgb(39, 46, 157);
/* oklch */ color: oklch(37.9% 0.176 271.7);
Tailwind
colors: {
  custom: {
    50: '#7467bb',
    500: '#272e9d',
    950: '#000000',
  },
}
SCSS
$custom: #272e9d;
$custom-light: #7467bb;
$custom-dark: #000000;
JSON
{
  "hex": "#272e9d",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 236.441,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37887,
    "c": 0.17586,
    "h": 271.7
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#272E9D
secondary
#BFB961
accent
#DA44E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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