#272D9F#272D9F

#272D9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.180 H 271.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#272D9F
RGBrgb(39, 45, 159)
HSLhsl(237, 61%, 39%)
HSVhsv(237, 75%, 62%)
CMYKcmyk(75.5%, 71.7%, 0%, 37.6%)
CIE-LABlab(26.19, 37.56, -62.01)
CIE-LCHlch(26.19, 72.50, 301.20°)
OKLaboklab(37.93% 0.0056 -0.1794)
OKLCHoklch(37.93% 0.18 271.8)
XYZxyz(8.0310, 4.8105, 33.2994)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D9F #9F9927
analogous
#27699F #272D9F #5D279F
triadic
#272D9F #9F272D #2D9F27
tetradic
#272D9F #9F2769 #9F9927 #279F5D
square
#272D9F #9F2769 #9F9927 #279F5D
split-complementary
#272D9F #9F5D27 #699F27
monochromatic
#0F113D #1B1F6E #272D9F #363DCE #676CDA

Accessibility & contrast

On white

10.70
#272D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#272D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D9F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D9F#FFFFFF#000000##FFFFFF
##272D9F1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272d9f;
/* rgb */ color: rgb(39, 45, 159);
/* oklch */ color: oklch(37.9% 0.180 271.8);
Tailwind
colors: {
  custom: {
    50: '#7567bd',
    500: '#272d9f',
    950: '#000000',
  },
}
SCSS
$custom: #272d9f;
$custom-light: #7567bd;
$custom-dark: #000000;
JSON
{
  "hex": "#272d9f",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 237,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3793,
    "c": 0.17954,
    "h": 271.8
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#272D9F
secondary
#C0BB62
accent
#DC44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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