#272BAC#272BAC

#272BAC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.198 H 271.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#272BAC
RGBrgb(39, 43, 172)
HSLhsl(238, 63%, 41%)
HSVhsv(238, 77%, 67%)
CMYKcmyk(77.3%, 75%, 0%, 32.5%)
CIE-LABlab(27.12, 43.25, -68.33)
CIE-LCHlch(27.12, 80.87, 302.33°)
OKLaboklab(39% 0.0045 -0.1978)
OKLCHoklch(39% 0.198 271.3)
XYZxyz(9.1444, 5.1366, 39.5313)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BAC #ACA827
analogous
#276EAC #272BAC #6627AC
triadic
#272BAC #AC272B #2BAC27
tetradic
#272BAC #AC276E #ACA827 #27AC66
square
#272BAC #AC276E #ACA827 #27AC66
split-complementary
#272BAC #AC6627 #6EAC27
monochromatic
#101248 #1C1F7A #272BAC #3D42D3 #6F72DE

Accessibility & contrast

On white

10.36
#272BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#272BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BAC
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BAC#FFFFFF#000000##FFFFFF
##272BAC1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #272bac;
/* rgb */ color: rgb(39, 43, 172);
/* oklch */ color: oklch(39.0% 0.198 271.3);
Tailwind
colors: {
  custom: {
    50: '#7866c6',
    500: '#272bac',
    950: '#000000',
  },
}
SCSS
$custom: #272bac;
$custom-light: #7866c6;
$custom-dark: #000000;
JSON
{
  "hex": "#272bac",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 238.195,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.19789,
    "h": 271.3
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#272BAC
secondary
#C5C26A
accent
#E142E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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