#272F9C#272F9C

#272F9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.173 H 271.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#272F9C
RGBrgb(39, 47, 156)
HSLhsl(236, 60%, 38%)
HSVhsv(236, 75%, 61%)
CMYKcmyk(75%, 69.9%, 0%, 38.8%)
CIE-LABlab(26.34, 35.25, -59.93)
CIE-LCHlch(26.34, 69.52, 300.46°)
OKLaboklab(37.95% 0.0048 -0.1734)
OKLCHoklch(37.95% 0.173 271.6)
XYZxyz(7.8519, 4.8638, 31.9710)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F9C #9C9427
analogous
#276A9C #272F9C #59279C
triadic
#272F9C #9C272F #2F9C27
tetradic
#272F9C #9C276A #9C9427 #279C59
square
#272F9C #9C276A #9C9427 #279C59
split-complementary
#272F9C #9C5927 #6A9C27
monochromatic
#0F113A #1B206B #272F9C #343ECC #656DD8

Accessibility & contrast

On white

10.64
#272F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#272F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F9C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F9C#FFFFFF#000000##FFFFFF
##272F9C1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272f9c;
/* rgb */ color: rgb(39, 47, 156);
/* oklch */ color: oklch(38.0% 0.173 271.6);
Tailwind
colors: {
  custom: {
    50: '#7468ba',
    500: '#272f9c',
    950: '#000000',
  },
}
SCSS
$custom: #272f9c;
$custom-light: #7468ba;
$custom-dark: #000000;
JSON
{
  "hex": "#272f9c",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 235.897,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37951,
    "c": 0.17344,
    "h": 271.6
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#272F9C
secondary
#BEB861
accent
#D845E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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