#272B94#272B94

#272B94 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.167 H 272.8°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#272B94
RGBrgb(39, 43, 148)
HSLhsl(238, 58%, 37%)
HSVhsv(238, 74%, 58%)
CMYKcmyk(73.6%, 70.9%, 0%, 42%)
CIE-LABlab(24.63, 34.90, -57.84)
CIE-LCHlch(24.63, 67.55, 301.11°)
OKLaboklab(36.47% 0.0082 -0.1673)
OKLCHoklch(36.47% 0.167 272.8)
XYZxyz(7.0441, 4.2965, 28.4693)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B94 #949027
analogous
#276294 #272B94 #5A2794
triadic
#272B94 #94272B #2B9427
tetradic
#272B94 #942762 #949027 #27945A
square
#272B94 #942762 #949027 #27945A
split-complementary
#272B94 #945A27 #629427
monochromatic
#0D0F33 #1A1D64 #272B94 #3439C4 #6065D5

Accessibility & contrast

On white

11.29
#272B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#272B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B94
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B94#FFFFFF#000000##FFFFFF
##272B941.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272b94;
/* rgb */ color: rgb(39, 43, 148);
/* oklch */ color: oklch(36.5% 0.167 272.8);
Tailwind
colors: {
  custom: {
    50: '#7265b4',
    500: '#272b94',
    950: '#000000',
  },
}
SCSS
$custom: #272b94;
$custom-light: #7265b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272b94",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 237.798,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36474,
    "c": 0.16748,
    "h": 272.8
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#272B94
secondary
#BBB75C
accent
#DC46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272B94

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

Preview Lab → · Contrast checker → · Palette generator →

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