#272A94#272A94

#272A94 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.169 H 273.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#272A94
RGBrgb(39, 42, 148)
HSLhsl(238, 58%, 37%)
HSVhsv(238, 74%, 58%)
CMYKcmyk(73.6%, 71.6%, 0%, 42%)
CIE-LABlab(24.40, 35.52, -58.22)
CIE-LCHlch(24.40, 68.20, 301.39°)
OKLaboklab(36.31% 0.0088 -0.1684)
OKLCHoklch(36.31% 0.169 273)
XYZxyz(7.0082, 4.2247, 28.4573)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A94 #949127
analogous
#276194 #272A94 #5B2794
triadic
#272A94 #94272A #2A9427
tetradic
#272A94 #942761 #949127 #27945B
square
#272A94 #942761 #949127 #27945B
split-complementary
#272A94 #945B27 #619427
monochromatic
#0D0F33 #1A1C64 #272A94 #3438C4 #6063D5

Accessibility & contrast

On white

11.38
#272A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272A94
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A94#FFFFFF#000000##FFFFFF
##272A941.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272a94;
/* rgb */ color: rgb(39, 42, 148);
/* oklch */ color: oklch(36.3% 0.169 273.0);
Tailwind
colors: {
  custom: {
    50: '#7364b4',
    500: '#272a94',
    950: '#000000',
  },
}
SCSS
$custom: #272a94;
$custom-light: #7364b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272a94",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 238.349,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3631,
    "c": 0.1686,
    "h": 273
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#272A94
secondary
#BBB85C
accent
#DD46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272A94

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

Preview Lab → · Contrast checker → · Palette generator →

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