#272DAF#272DAF

#272DAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.200 H 270.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#272DAF
RGBrgb(39, 45, 175)
HSLhsl(237, 64%, 42%)
HSVhsv(237, 78%, 69%)
CMYKcmyk(77.7%, 74.3%, 0%, 31.4%)
CIE-LABlab(27.85, 43.11, -68.92)
CIE-LCHlch(27.85, 81.30, 302.03°)
OKLaboklab(39.62% 0.0032 -0.1996)
OKLCHoklch(39.62% 0.2 270.9)
XYZxyz(9.5103, 5.4022, 41.0906)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DAF #AFA927
analogous
#2771AF #272DAF #6527AF
triadic
#272DAF #AF272D #2DAF27
tetradic
#272DAF #AF2771 #AFA927 #27AF65
square
#272DAF #AF2771 #AFA927 #27AF65
split-complementary
#272DAF #AF6527 #71AF27
monochromatic
#11134B #1C207D #272DAF #3F46D4 #7176DF

Accessibility & contrast

On white

10.09
#272DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#272DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DAF
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DAF#FFFFFF#000000##FFFFFF
##272DAF1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #272daf;
/* rgb */ color: rgb(39, 45, 175);
/* oklch */ color: oklch(39.6% 0.200 270.9);
Tailwind
colors: {
  custom: {
    50: '#7967c8',
    500: '#272daf',
    950: '#000000',
  },
}
SCSS
$custom: #272daf;
$custom-light: #7967c8;
$custom-dark: #000000;
JSON
{
  "hex": "#272daf",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 237.353,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39616,
    "c": 0.19961,
    "h": 270.9
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#272DAF
secondary
#C6C26B
accent
#DF41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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