#272F92#272F92

#272F92 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.160 H 272.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#272F92
RGBrgb(39, 47, 146)
HSLhsl(236, 58%, 36%)
HSVhsv(236, 73%, 57%)
CMYKcmyk(73.3%, 67.8%, 0%, 42.7%)
CIE-LABlab(25.38, 31.62, -55.37)
CIE-LCHlch(25.38, 63.77, 299.73°)
OKLaboklab(36.96% 0.0059 -0.1601)
OKLCHoklch(36.96% 0.16 272.1)
XYZxyz(7.0398, 4.5390, 27.6937)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F92 #928A27
analogous
#276592 #272F92 #552792
triadic
#272F92 #92272F #2F9227
tetradic
#272F92 #922765 #928A27 #279255
square
#272F92 #922765 #928A27 #279255
split-complementary
#272F92 #925527 #659227
monochromatic
#0D1031 #1A1F62 #272F92 #343FC2 #5F68D4

Accessibility & contrast

On white

11.01
#272F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#272F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F92
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F92#FFFFFF#000000##FFFFFF
##272F921.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272f92;
/* rgb */ color: rgb(39, 47, 146);
/* oklch */ color: oklch(37.0% 0.160 272.1);
Tailwind
colors: {
  custom: {
    50: '#7268b3',
    500: '#272f92',
    950: '#000000',
  },
}
SCSS
$custom: #272f92;
$custom-light: #7268b3;
$custom-dark: #000000;
JSON
{
  "hex": "#272f92",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 235.514,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36958,
    "c": 0.16017,
    "h": 272.1
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#272F92
secondary
#BAB35B
accent
#D647E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272F92

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

Preview Lab → · Contrast checker → · Palette generator →

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