#272A90#272A90

#272A90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.163 H 273.3°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#272A90
RGBrgb(39, 42, 144)
HSLhsl(238, 57%, 36%)
HSVhsv(238, 73%, 56%)
CMYKcmyk(72.9%, 70.8%, 0%, 43.5%)
CIE-LABlab(24.00, 34.10, -56.40)
CIE-LCHlch(24.00, 65.91, 301.16°)
OKLaboklab(35.9% 0.0093 -0.1631)
OKLCHoklch(35.9% 0.163 273.3)
XYZxyz(6.6970, 4.1002, 26.8186)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A90 #908D27
analogous
#275E90 #272A90 #582790
triadic
#272A90 #90272A #2A9027
tetradic
#272A90 #90275E #908D27 #279058
square
#272A90 #90275E #908D27 #279058
split-complementary
#272A90 #905827 #5E9027
monochromatic
#0D0E30 #1A1C60 #272A90 #3438C0 #5E61D3

Accessibility & contrast

On white

11.54
#272A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#272A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A90
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A90#FFFFFF#000000##FFFFFF
##272A901.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272a90;
/* rgb */ color: rgb(39, 42, 144);
/* oklch */ color: oklch(35.9% 0.163 273.3);
Tailwind
colors: {
  custom: {
    50: '#7264b2',
    500: '#272a90',
    950: '#000000',
  },
}
SCSS
$custom: #272a90;
$custom-light: #7264b2;
$custom-dark: #000000;
JSON
{
  "hex": "#272a90",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 238.286,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.359,
    "c": 0.16335,
    "h": 273.3
  },
  "luminance": 0.04101
}

Semantic roles & 50–950 ramp

primary
#272A90
secondary
#B9B65A
accent
#DC47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272A90

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

Preview Lab → · Contrast checker → · Palette generator →

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