#272B95#272B95

#272B95 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.169 H 272.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#272B95
RGBrgb(39, 43, 149)
HSLhsl(238, 59%, 37%)
HSVhsv(238, 74%, 58%)
CMYKcmyk(73.8%, 71.1%, 0%, 41.6%)
CIE-LABlab(24.73, 35.26, -58.29)
CIE-LCHlch(24.73, 68.12, 301.17°)
OKLaboklab(36.58% 0.008 -0.1686)
OKLCHoklch(36.58% 0.169 272.7)
XYZxyz(7.1236, 4.3283, 28.8880)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B95 #959127
analogous
#276295 #272B95 #5A2795
triadic
#272B95 #95272B #2B9527
tetradic
#272B95 #952762 #959127 #27955A
square
#272B95 #952762 #959127 #27955A
split-complementary
#272B95 #955A27 #629527
monochromatic
#0E0F34 #1A1D64 #272B95 #3439C6 #6165D6

Accessibility & contrast

On white

11.26
#272B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#272B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B95
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B95#FFFFFF#000000##FFFFFF
##272B951.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272b95;
/* rgb */ color: rgb(39, 43, 149);
/* oklch */ color: oklch(36.6% 0.169 272.7);
Tailwind
colors: {
  custom: {
    50: '#7365b5',
    500: '#272b95',
    950: '#000000',
  },
}
SCSS
$custom: #272b95;
$custom-light: #7365b5;
$custom-dark: #000000;
JSON
{
  "hex": "#272b95",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 237.818,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36576,
    "c": 0.16879,
    "h": 272.7
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#272B95
secondary
#BBB85D
accent
#DC46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272B95

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

Preview Lab → · Contrast checker → · Palette generator →

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