#272F9D#272F9D

#272F9D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.175 H 271.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#272F9D
RGBrgb(39, 47, 157)
HSLhsl(236, 60%, 38%)
HSVhsv(236, 75%, 62%)
CMYKcmyk(75.2%, 70.1%, 0%, 38.4%)
CIE-LABlab(26.44, 35.61, -60.37)
CIE-LCHlch(26.44, 70.09, 300.53°)
OKLaboklab(38.05% 0.0047 -0.1747)
OKLCHoklch(38.05% 0.175 271.5)
XYZxyz(7.9370, 4.8979, 32.4188)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F9D #9D9527
analogous
#276A9D #272F9D #5A279D
triadic
#272F9D #9D272F #2F9D27
tetradic
#272F9D #9D276A #9D9527 #279D5A
square
#272F9D #9D276A #9D9527 #279D5A
split-complementary
#272F9D #9D5A27 #6A9D27
monochromatic
#0F123B #1B206C #272F9D #353FCD #666DD9

Accessibility & contrast

On white

10.61
#272F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#272F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F9D
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F9D#FFFFFF#000000##FFFFFF
##272F9D1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272f9d;
/* rgb */ color: rgb(39, 47, 157);
/* oklch */ color: oklch(38.1% 0.175 271.5);
Tailwind
colors: {
  custom: {
    50: '#7468bb',
    500: '#272f9d',
    950: '#000000',
  },
}
SCSS
$custom: #272f9d;
$custom-light: #7468bb;
$custom-dark: #000000;
JSON
{
  "hex": "#272f9d",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 235.932,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38052,
    "c": 0.17473,
    "h": 271.5
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#272F9D
secondary
#BFB861
accent
#D944E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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