#272D94#272D94

#272D94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.165 H 272.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#272D94
RGBrgb(39, 45, 148)
HSLhsl(237, 58%, 37%)
HSVhsv(237, 74%, 58%)
CMYKcmyk(73.6%, 69.6%, 0%, 42%)
CIE-LABlab(25.09, 33.64, -57.08)
CIE-LCHlch(25.09, 66.25, 300.51°)
OKLaboklab(36.81% 0.007 -0.165)
OKLCHoklch(36.81% 0.165 272.4)
XYZxyz(7.1186, 4.4455, 28.4941)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D94 #948E27
analogous
#276494 #272D94 #582794
triadic
#272D94 #94272D #2D9427
tetradic
#272D94 #942764 #948E27 #279458
square
#272D94 #942764 #948E27 #279458
split-complementary
#272D94 #945827 #649427
monochromatic
#0D1033 #1A1E64 #272D94 #343CC4 #6067D5

Accessibility & contrast

On white

11.12
#272D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#272D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D94
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D94#FFFFFF#000000##FFFFFF
##272D941.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272d94;
/* rgb */ color: rgb(39, 45, 148);
/* oklch */ color: oklch(36.8% 0.165 272.4);
Tailwind
colors: {
  custom: {
    50: '#7266b4',
    500: '#272d94',
    950: '#000000',
  },
}
SCSS
$custom: #272d94;
$custom-light: #7266b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272d94",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 236.697,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36809,
    "c": 0.1652,
    "h": 272.4
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#272D94
secondary
#BBB55C
accent
#D946E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272D94

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

Preview Lab → · Contrast checker → · Palette generator →

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