#272A75#272A75

#272A75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.126 H 275.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#272A75
RGBrgb(39, 42, 117)
HSLhsl(238, 50%, 31%)
HSVhsv(238, 67%, 46%)
CMYKcmyk(66.7%, 64.1%, 0%, 54.1%)
CIE-LABlab(21.47, 24.24, -43.55)
CIE-LCHlch(21.47, 49.84, 299.11°)
OKLaboklab(33.28% 0.0119 -0.1254)
OKLCHoklch(33.28% 0.126 275.4)
XYZxyz(4.8745, 3.3712, 17.2200)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A75 #757227
analogous
#275175 #272A75 #4B2775
triadic
#272A75 #75272A #2A7527
tetradic
#272A75 #752751 #757227 #27754B
square
#272A75 #752751 #757227 #27754B
split-complementary
#272A75 #754B27 #517527
monochromatic
#080919 #181A47 #272A75 #363AA3 #5156C5

Accessibility & contrast

On white

12.54
#272A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#272A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A75
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A75#FFFFFF#000000##FFFFFF
##272A751.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272a75;
/* rgb */ color: rgb(39, 42, 117);
/* oklch */ color: oklch(33.3% 0.126 275.4);
Tailwind
colors: {
  custom: {
    50: '#6b639d',
    500: '#272a75',
    950: '#000000',
  },
}
SCSS
$custom: #272a75;
$custom-light: #6b639d;
$custom-dark: #000000;
JSON
{
  "hex": "#272a75",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 237.692,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33284,
    "c": 0.12598,
    "h": 275.4
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#272A75
secondary
#A7A451
accent
#D44EDA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #272A75

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

Preview Lab → · Contrast checker → · Palette generator →

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