#272BAF#272BAF

#272BAF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.3% C 0.202 H 271.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#272BAF
RGBrgb(39, 43, 175)
HSLhsl(238, 64%, 42%)
HSVhsv(238, 78%, 69%)
CMYKcmyk(77.7%, 75.4%, 0%, 31.4%)
CIE-LABlab(27.44, 44.26, -69.60)
CIE-LCHlch(27.44, 82.48, 302.45°)
OKLaboklab(39.33% 0.004 -0.2015)
OKLCHoklch(39.33% 0.202 271.1)
XYZxyz(9.4358, 5.2532, 41.0658)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BAF #AFAB27
analogous
#276FAF #272BAF #6727AF
triadic
#272BAF #AF272B #2BAF27
tetradic
#272BAF #AF276F #AFAB27 #27AF67
square
#272BAF #AF276F #AFAB27 #27AF67
split-complementary
#272BAF #AF6727 #6FAF27
monochromatic
#11124B #1C1F7D #272BAF #3F43D4 #7174DF

Accessibility & contrast

On white

10.24
#272BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#272BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BAF
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BAF#FFFFFF#000000##FFFFFF
##272BAF1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272baf;
/* rgb */ color: rgb(39, 43, 175);
/* oklch */ color: oklch(39.3% 0.202 271.1);
Tailwind
colors: {
  custom: {
    50: '#7966c8',
    500: '#272baf',
    950: '#000000',
  },
}
SCSS
$custom: #272baf;
$custom-light: #7966c8;
$custom-dark: #000000;
JSON
{
  "hex": "#272baf",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 238.235,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.20156,
    "h": 271.1
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#272BAF
secondary
#C6C46B
accent
#E241E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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