#272964#272964

#272964 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.102 H 277.4°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#272964
RGBrgb(39, 41, 100)
HSLhsl(238, 44%, 27%)
HSVhsv(238, 61%, 39%)
CMYKcmyk(61%, 59%, 0%, 60.8%)
CIE-LABlab(19.79, 18.62, -35.27)
CIE-LCHlch(19.79, 39.89, 297.83°)
OKLaboklab(31.59% 0.0131 -0.1011)
OKLCHoklch(31.59% 0.102 277.4)
XYZxyz(3.9292, 2.9370, 12.4140)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272964 #646227
analogous
#274864 #272964 #442764
triadic
#272964 #642729 #296427
tetradic
#272964 #642748 #646227 #276444
square
#272964 #642748 #646227 #276444
split-complementary
#272964 #644427 #486427
monochromatic
#090916 #161738 #272964 #383B90 #4C50B9

Accessibility & contrast

On white

13.23
#272964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#272964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272964
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272964#FFFFFF#000000##FFFFFF
##2729641.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013266
Deuteranopia (green-blind)
#002D63
Tritanopia (blue-blind)
#033742
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #272964;
/* rgb */ color: rgb(39, 41, 100);
/* oklch */ color: oklch(31.6% 0.102 277.4);
Tailwind
colors: {
  custom: {
    50: '#686291',
    500: '#272964',
    950: '#000000',
  },
}
SCSS
$custom: #272964;
$custom-light: #686291;
$custom-dark: #000000;
JSON
{
  "hex": "#272964",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 238.033,
    "s": 43.885,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31594,
    "c": 0.10194,
    "h": 277.4
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#272964
secondary
#979550
accent
#CF54D4
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050D
muted
#7A797D

Preview Lab

Preview with #272964

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

Preview Lab → · Contrast checker → · Palette generator →

#272964 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva