#272F95#272F95

#272F95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.164 H 271.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#272F95
RGBrgb(39, 47, 149)
HSLhsl(236, 59%, 37%)
HSVhsv(236, 74%, 58%)
CMYKcmyk(73.8%, 68.5%, 0%, 41.6%)
CIE-LABlab(25.66, 32.72, -56.75)
CIE-LCHlch(25.66, 65.51, 299.96°)
OKLaboklab(37.25% 0.0056 -0.1641)
OKLCHoklch(37.25% 0.164 271.9)
XYZxyz(7.2762, 4.6336, 28.9388)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F95 #958D27
analogous
#276695 #272F95 #562795
triadic
#272F95 #95272F #2F9527
tetradic
#272F95 #952766 #958D27 #279556
square
#272F95 #952766 #958D27 #279556
split-complementary
#272F95 #955627 #669527
monochromatic
#0E1034 #1A2064 #272F95 #343EC6 #6169D6

Accessibility & contrast

On white

10.90
#272F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#272F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F95
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F95#FFFFFF#000000##FFFFFF
##272F951.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272f95;
/* rgb */ color: rgb(39, 47, 149);
/* oklch */ color: oklch(37.3% 0.164 271.9);
Tailwind
colors: {
  custom: {
    50: '#7268b5',
    500: '#272f95',
    950: '#000000',
  },
}
SCSS
$custom: #272f95;
$custom-light: #7268b5;
$custom-dark: #000000;
JSON
{
  "hex": "#272f95",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 235.636,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37253,
    "c": 0.16419,
    "h": 271.9
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#272F95
secondary
#BBB45D
accent
#D646E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272F95

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

Preview Lab → · Contrast checker → · Palette generator →

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