#272F90#272F90

#272F90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.157 H 272.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#272F90
RGBrgb(39, 47, 144)
HSLhsl(235, 57%, 36%)
HSVhsv(235, 73%, 56%)
CMYKcmyk(72.9%, 67.4%, 0%, 43.5%)
CIE-LABlab(25.19, 30.89, -54.45)
CIE-LCHlch(25.19, 62.60, 299.57°)
OKLaboklab(36.76% 0.006 -0.1573)
OKLCHoklch(36.76% 0.157 272.2)
XYZxyz(6.8856, 4.4773, 26.8815)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F90 #908827
analogous
#276390 #272F90 #532790
triadic
#272F90 #90272F #2F9027
tetradic
#272F90 #902763 #908827 #279053
square
#272F90 #902763 #908827 #279053
split-complementary
#272F90 #905327 #639027
monochromatic
#0D1030 #1A1F60 #272F90 #343FC0 #5E67D3

Accessibility & contrast

On white

11.08
#272F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#272F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F90
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F90#FFFFFF#000000##FFFFFF
##272F901.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272f90;
/* rgb */ color: rgb(39, 47, 144);
/* oklch */ color: oklch(36.8% 0.157 272.2);
Tailwind
colors: {
  custom: {
    50: '#7167b1',
    500: '#272f90',
    950: '#000000',
  },
}
SCSS
$custom: #272f90;
$custom-light: #7167b1;
$custom-dark: #000000;
JSON
{
  "hex": "#272f90",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 235.429,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36763,
    "c": 0.15747,
    "h": 272.2
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#272F90
secondary
#B9B15A
accent
#D547E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272F90

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

Preview Lab → · Contrast checker → · Palette generator →

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