#272BB3#272BB3

#272BB3 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.206 H 270.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#272BB3
RGBrgb(39, 43, 179)
HSLhsl(238, 64%, 43%)
HSVhsv(238, 78%, 70%)
CMYKcmyk(78.2%, 76%, 0%, 29.8%)
CIE-LABlab(27.88, 45.60, -71.27)
CIE-LCHlch(27.88, 84.61, 302.61°)
OKLaboklab(39.76% 0.0033 -0.2064)
OKLCHoklch(39.76% 0.206 270.9)
XYZxyz(9.8345, 5.4127, 43.1655)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BB3 #B3AF27
analogous
#2771B3 #272BB3 #6927B3
triadic
#272BB3 #B3272B #2BB327
tetradic
#272BB3 #B32771 #B3AF27 #27B369
square
#272BB3 #B32771 #B3AF27 #27B369
split-complementary
#272BB3 #B36927 #71B327
monochromatic
#11134E #1C1F81 #272BB3 #4146D6 #7477E1

Accessibility & contrast

On white

10.08
#272BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272BB3
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BB3#FFFFFF#000000##FFFFFF
##272BB31.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #272bb3;
/* rgb */ color: rgb(39, 43, 179);
/* oklch */ color: oklch(39.8% 0.206 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a66cb',
    500: '#272bb3',
    950: '#000000',
  },
}
SCSS
$custom: #272bb3;
$custom-light: #7a66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#272bb3",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 238.286,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.2064,
    "h": 270.9
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#272BB3
secondary
#C8C56E
accent
#E241E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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