#272B90#272B90

#272B90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.162 H 273.1°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#272B90
RGBrgb(39, 43, 144)
HSLhsl(238, 57%, 36%)
HSVhsv(238, 73%, 56%)
CMYKcmyk(72.9%, 70.1%, 0%, 43.5%)
CIE-LABlab(24.23, 33.47, -56.02)
CIE-LCHlch(24.23, 65.26, 300.86°)
OKLaboklab(36.07% 0.0087 -0.162)
OKLCHoklch(36.07% 0.162 273.1)
XYZxyz(6.7329, 4.1720, 26.8306)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B90 #908C27
analogous
#275F90 #272B90 #572790
triadic
#272B90 #90272B #2B9027
tetradic
#272B90 #90275F #908C27 #279057
square
#272B90 #90275F #908C27 #279057
split-complementary
#272B90 #905727 #5F9027
monochromatic
#0D0E30 #1A1D60 #272B90 #3439C0 #5E62D3

Accessibility & contrast

On white

11.45
#272B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#272B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B90
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B90#FFFFFF#000000##FFFFFF
##272B901.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272b90;
/* rgb */ color: rgb(39, 43, 144);
/* oklch */ color: oklch(36.1% 0.162 273.1);
Tailwind
colors: {
  custom: {
    50: '#7165b2',
    500: '#272b90',
    950: '#000000',
  },
}
SCSS
$custom: #272b90;
$custom-light: #7165b2;
$custom-dark: #000000;
JSON
{
  "hex": "#272b90",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 237.714,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36068,
    "c": 0.16219,
    "h": 273.1
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#272B90
secondary
#B9B55A
accent
#DB47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272B90

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

Preview Lab → · Contrast checker → · Palette generator →

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