#272C9F#272C9F

#272C9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.181 H 271.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#272C9F
RGBrgb(39, 44, 159)
HSLhsl(238, 61%, 39%)
HSVhsv(238, 75%, 62%)
CMYKcmyk(75.5%, 72.3%, 0%, 37.6%)
CIE-LABlab(25.97, 38.17, -62.38)
CIE-LCHlch(25.97, 73.13, 301.47°)
OKLaboklab(37.77% 0.0061 -0.1805)
OKLCHoklch(37.77% 0.181 271.9)
XYZxyz(7.9933, 4.7351, 33.2869)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C9F #9F9A27
analogous
#27689F #272C9F #5E279F
triadic
#272C9F #9F272C #2C9F27
tetradic
#272C9F #9F2768 #9F9A27 #279F5E
square
#272C9F #9F2768 #9F9A27 #279F5E
split-complementary
#272C9F #9F5E27 #689F27
monochromatic
#0F113D #1B1E6E #272C9F #363CCE #676CDA

Accessibility & contrast

On white

10.78
#272C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#272C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C9F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C9F#FFFFFF#000000##FFFFFF
##272C9F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272c9f;
/* rgb */ color: rgb(39, 44, 159);
/* oklch */ color: oklch(37.8% 0.181 271.9);
Tailwind
colors: {
  custom: {
    50: '#7566bd',
    500: '#272c9f',
    950: '#000000',
  },
}
SCSS
$custom: #272c9f;
$custom-light: #7566bd;
$custom-dark: #000000;
JSON
{
  "hex": "#272c9f",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 237.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37771,
    "c": 0.18061,
    "h": 271.9
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#272C9F
secondary
#C0BC62
accent
#DD44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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