#272F83#272F83

#272F83 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.139 H 272.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#272F83
RGBrgb(39, 47, 131)
HSLhsl(235, 54%, 33%)
HSVhsv(235, 70%, 51%)
CMYKcmyk(70.2%, 64.1%, 0%, 48.6%)
CIE-LABlab(24.01, 26.07, -48.29)
CIE-LCHlch(24.01, 54.87, 298.37°)
OKLaboklab(35.53% 0.0069 -0.1393)
OKLCHoklch(35.53% 0.139 272.8)
XYZxyz(5.9486, 4.1025, 21.9467)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F83 #837B27
analogous
#275D83 #272F83 #4D2783
triadic
#272F83 #83272F #2F8327
tetradic
#272F83 #83275D #837B27 #27834D
square
#272F83 #83275D #837B27 #27834D
split-complementary
#272F83 #834D27 #5D8327
monochromatic
#0B0D25 #191E54 #272F83 #3540B2 #5762CD

Accessibility & contrast

On white

11.53
#272F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#272F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F83
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F83#FFFFFF#000000##FFFFFF
##272F831.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272f83;
/* rgb */ color: rgb(39, 47, 131);
/* oklch */ color: oklch(35.5% 0.139 272.8);
Tailwind
colors: {
  custom: {
    50: '#6e67a8',
    500: '#272f83',
    950: '#000000',
  },
}
SCSS
$custom: #272f83;
$custom-light: #6e67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#272f83",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 234.783,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35532,
    "c": 0.13946,
    "h": 272.8
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#272F83
secondary
#B2AA54
accent
#D14ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272F83

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

Preview Lab → · Contrast checker → · Palette generator →

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