#272F70#272F70

#272F70 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.112 H 273.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#272F70
RGBrgb(39, 47, 112)
HSLhsl(233, 48%, 30%)
HSVhsv(233, 65%, 44%)
CMYKcmyk(65.2%, 58%, 0%, 56.1%)
CIE-LABlab(22.42, 18.91, -38.80)
CIE-LCHlch(22.42, 43.16, 295.98°)
OKLaboklab(33.86% 0.007 -0.1114)
OKLCHoklch(33.86% 0.112 273.6)
XYZxyz(4.7769, 3.6338, 15.7758)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F70 #706827
analogous
#275370 #272F70 #442770
triadic
#272F70 #70272F #2F7027
tetradic
#272F70 #702753 #706827 #277044
square
#272F70 #702753 #706827 #277044
split-complementary
#272F70 #704427 #537027
monochromatic
#080A17 #171C43 #272F70 #37429D #505CC2

Accessibility & contrast

On white

12.16
#272F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#272F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F70
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F70#FFFFFF#000000##FFFFFF
##272F701.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272f70;
/* rgb */ color: rgb(39, 47, 112);
/* oklch */ color: oklch(33.9% 0.112 273.6);
Tailwind
colors: {
  custom: {
    50: '#6a679a',
    500: '#272f70',
    950: '#000000',
  },
}
SCSS
$custom: #272f70;
$custom-light: #6a679a;
$custom-dark: #000000;
JSON
{
  "hex": "#272f70",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 233.425,
    "s": 48.344,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33858,
    "c": 0.11163,
    "h": 273.6
  },
  "luminance": 0.03634
}

Semantic roles & 50–950 ramp

primary
#272F70
secondary
#A29950
accent
#C950D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #272F70

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

Preview Lab → · Contrast checker → · Palette generator →

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