#272E94#272E94

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

Color values

HEX#272E94
RGBrgb(39, 46, 148)
HSLhsl(236, 58%, 37%)
HSVhsv(236, 74%, 58%)
CMYKcmyk(73.6%, 68.9%, 0%, 42%)
CIE-LABlab(25.33, 33.00, -56.69)
CIE-LCHlch(25.33, 65.59, 300.20°)
OKLaboklab(36.98% 0.0063 -0.1639)
OKLCHoklch(36.98% 0.164 272.2)
XYZxyz(7.1572, 4.5227, 28.5070)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E94 #948D27
analogous
#276594 #272E94 #572794
triadic
#272E94 #94272E #2E9427
tetradic
#272E94 #942765 #948D27 #279457
square
#272E94 #942765 #948D27 #279457
split-complementary
#272E94 #945727 #659427
monochromatic
#0D1033 #1A1F64 #272E94 #343DC4 #6068D5

Accessibility & contrast

On white

11.03
#272E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#272E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E94
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E94#FFFFFF#000000##FFFFFF
##272E941.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272e94;
/* rgb */ color: rgb(39, 46, 148);
/* oklch */ color: oklch(37.0% 0.164 272.2);
Tailwind
colors: {
  custom: {
    50: '#7267b4',
    500: '#272e94',
    950: '#000000',
  },
}
SCSS
$custom: #272e94;
$custom-light: #7267b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272e94",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 236.147,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36981,
    "c": 0.16403,
    "h": 272.2
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272E94

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

Preview Lab → · Contrast checker → · Palette generator →

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