#272F6C#272F6C

#272F6C is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.106 H 273.7°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#272F6C
RGBrgb(39, 47, 108)
HSLhsl(233, 47%, 29%)
HSVhsv(233, 64%, 42%)
CMYKcmyk(63.9%, 56.5%, 0%, 57.6%)
CIE-LABlab(22.11, 17.39, -36.72)
CIE-LCHlch(22.11, 40.63, 295.34°)
OKLaboklab(33.53% 0.0067 -0.1053)
OKLCHoklch(33.53% 0.106 273.7)
XYZxyz(4.5591, 3.5467, 14.6288)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F6C #6C6427
analogous
#27526C #272F6C #42276C
triadic
#272F6C #6C272F #2F6C27
tetradic
#272F6C #6C2752 #6C6427 #276C42
square
#272F6C #6C2752 #6C6427 #276C42
split-complementary
#272F6C #6C4227 #526C27
monochromatic
#080A16 #171B3F #272F6C #374399 #4E5BBF

Accessibility & contrast

On white

12.29
#272F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#272F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F6C
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F6C#FFFFFF#000000##FFFFFF
##272F6C1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08386E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272f6c;
/* rgb */ color: rgb(39, 47, 108);
/* oklch */ color: oklch(33.5% 0.106 273.7);
Tailwind
colors: {
  custom: {
    50: '#696797',
    500: '#272f6c',
    950: '#000000',
  },
}
SCSS
$custom: #272f6c;
$custom-light: #696797;
$custom-dark: #000000;
JSON
{
  "hex": "#272f6c",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 233.043,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33528,
    "c": 0.10552,
    "h": 273.7
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#272F6C
secondary
#9F9650
accent
#C751D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #272F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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