#272A95#272A95

#272A95 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.170 H 272.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#272A95
RGBrgb(39, 42, 149)
HSLhsl(238, 59%, 37%)
HSVhsv(238, 74%, 58%)
CMYKcmyk(73.8%, 71.8%, 0%, 41.6%)
CIE-LABlab(24.50, 35.88, -58.66)
CIE-LCHlch(24.50, 68.77, 301.45°)
OKLaboklab(36.41% 0.0086 -0.1697)
OKLCHoklch(36.41% 0.17 272.9)
XYZxyz(7.0877, 4.2565, 28.8760)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A95 #959227
analogous
#276195 #272A95 #5B2795
triadic
#272A95 #95272A #2A9527
tetradic
#272A95 #952761 #959227 #27955B
square
#272A95 #952761 #959227 #27955B
split-complementary
#272A95 #955B27 #619527
monochromatic
#0E0F34 #1A1C64 #272A95 #3438C6 #6164D6

Accessibility & contrast

On white

11.34
#272A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#272A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A95
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A95#FFFFFF#000000##FFFFFF
##272A951.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272a95;
/* rgb */ color: rgb(39, 42, 149);
/* oklch */ color: oklch(36.4% 0.170 272.9);
Tailwind
colors: {
  custom: {
    50: '#7364b5',
    500: '#272a95',
    950: '#000000',
  },
}
SCSS
$custom: #272a95;
$custom-light: #7364b5;
$custom-dark: #000000;
JSON
{
  "hex": "#272a95",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 238.364,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36413,
    "c": 0.1699,
    "h": 272.9
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#272A95
secondary
#BBB85D
accent
#DD46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272A95

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

Preview Lab → · Contrast checker → · Palette generator →

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