#272F7E#272F7E

#272F7E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.132 H 273.1°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#272F7E
RGBrgb(39, 47, 126)
HSLhsl(234, 53%, 32%)
HSVhsv(234, 69%, 49%)
CMYKcmyk(69%, 62.7%, 0%, 50.6%)
CIE-LABlab(23.57, 24.20, -45.85)
CIE-LCHlch(23.57, 51.84, 297.82°)
OKLaboklab(35.08% 0.0071 -0.1321)
OKLCHoklch(35.08% 0.132 273.1)
XYZxyz(5.6179, 3.9702, 20.2049)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F7E #7E7627
analogous
#275A7E #272F7E #4B277E
triadic
#272F7E #7E272F #2F7E27
tetradic
#272F7E #7E275A #7E7627 #277E4B
square
#272F7E #7E275A #7E7627 #277E4B
split-complementary
#272F7E #7E4B27 #5A7E27
monochromatic
#0A0C21 #191E4F #272F7E #3540AD #5560CA

Accessibility & contrast

On white

11.70
#272F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#272F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F7E
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F7E#FFFFFF#000000##FFFFFF
##272F7E1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272f7e;
/* rgb */ color: rgb(39, 47, 126);
/* oklch */ color: oklch(35.1% 0.132 273.1);
Tailwind
colors: {
  custom: {
    50: '#6d67a4',
    500: '#272f7e',
    950: '#000000',
  },
}
SCSS
$custom: #272f7e;
$custom-light: #6d67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#272f7e",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 234.483,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35076,
    "c": 0.13232,
    "h": 273.1
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#272F7E
secondary
#AFA752
accent
#CF4CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #272F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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