#272B75#272B75

#272B75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.125 H 275.0°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#272B75
RGBrgb(39, 43, 117)
HSLhsl(237, 50%, 31%)
HSVhsv(237, 67%, 46%)
CMYKcmyk(66.7%, 63.2%, 0%, 54.1%)
CIE-LABlab(21.74, 23.56, -43.12)
CIE-LCHlch(21.74, 49.14, 298.65°)
OKLaboklab(33.48% 0.011 -0.1241)
OKLCHoklch(33.48% 0.125 275)
XYZxyz(4.9104, 3.4430, 17.2320)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B75 #757127
analogous
#275275 #272B75 #4A2775
triadic
#272B75 #75272B #2B7527
tetradic
#272B75 #752752 #757127 #27754A
square
#272B75 #752752 #757127 #27754A
split-complementary
#272B75 #754A27 #527527
monochromatic
#080919 #181A47 #272B75 #363CA3 #5157C5

Accessibility & contrast

On white

12.44
#272B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#272B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B75
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B75#FFFFFF#000000##FFFFFF
##272B751.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272b75;
/* rgb */ color: rgb(39, 43, 117);
/* oklch */ color: oklch(33.5% 0.125 275.0);
Tailwind
colors: {
  custom: {
    50: '#6b649d',
    500: '#272b75',
    950: '#000000',
  },
}
SCSS
$custom: #272b75;
$custom-light: #6b649d;
$custom-dark: #000000;
JSON
{
  "hex": "#272b75",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 236.923,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33479,
    "c": 0.12463,
    "h": 275
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#272B75
secondary
#A7A351
accent
#D24EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #272B75

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

Preview Lab → · Contrast checker → · Palette generator →

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