#272E95#272E95

#272E95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.165 H 272.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#272E95
RGBrgb(39, 46, 149)
HSLhsl(236, 59%, 37%)
HSVhsv(236, 74%, 58%)
CMYKcmyk(73.8%, 69.1%, 0%, 41.6%)
CIE-LABlab(25.43, 33.36, -57.15)
CIE-LCHlch(25.43, 66.17, 300.27°)
OKLaboklab(37.08% 0.0062 -0.1652)
OKLCHoklch(37.08% 0.165 272.2)
XYZxyz(7.2367, 4.5545, 28.9257)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E95 #958E27
analogous
#276595 #272E95 #572795
triadic
#272E95 #95272E #2E9527
tetradic
#272E95 #952765 #958E27 #279557
square
#272E95 #952765 #958E27 #279557
split-complementary
#272E95 #955727 #659527
monochromatic
#0E1034 #1A1F64 #272E95 #343DC6 #6168D6

Accessibility & contrast

On white

10.99
#272E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#272E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E95
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E95#FFFFFF#000000##FFFFFF
##272E951.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272e95;
/* rgb */ color: rgb(39, 46, 149);
/* oklch */ color: oklch(37.1% 0.165 272.2);
Tailwind
colors: {
  custom: {
    50: '#7267b5',
    500: '#272e95',
    950: '#000000',
  },
}
SCSS
$custom: #272e95;
$custom-light: #7267b5;
$custom-dark: #000000;
JSON
{
  "hex": "#272e95",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 236.182,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3708,
    "c": 0.16536,
    "h": 272.2
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#272E95
secondary
#BBB55D
accent
#D846E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272E95

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

Preview Lab → · Contrast checker → · Palette generator →

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