#272B9F#272B9F

#272B9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.182 H 272.1°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#272B9F
RGBrgb(39, 43, 159)
HSLhsl(238, 61%, 39%)
HSVhsv(238, 75%, 62%)
CMYKcmyk(75.5%, 73%, 0%, 37.6%)
CIE-LABlab(25.75, 38.78, -62.74)
CIE-LCHlch(25.75, 73.75, 301.72°)
OKLaboklab(37.61% 0.0066 -0.1816)
OKLCHoklch(37.61% 0.182 272.1)
XYZxyz(7.9565, 4.6615, 33.2746)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B9F #9F9B27
analogous
#27679F #272B9F #5F279F
triadic
#272B9F #9F272B #2B9F27
tetradic
#272B9F #9F2767 #9F9B27 #279F5F
square
#272B9F #9F2767 #9F9B27 #279F5F
split-complementary
#272B9F #9F5F27 #679F27
monochromatic
#0F103D #1B1E6E #272B9F #363BCE #676BDA

Accessibility & contrast

On white

10.87
#272B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#272B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B9F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B9F#FFFFFF#000000##FFFFFF
##272B9F1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272b9f;
/* rgb */ color: rgb(39, 43, 159);
/* oklch */ color: oklch(37.6% 0.182 272.1);
Tailwind
colors: {
  custom: {
    50: '#7565bd',
    500: '#272b9f',
    950: '#000000',
  },
}
SCSS
$custom: #272b9f;
$custom-light: #7565bd;
$custom-dark: #000000;
JSON
{
  "hex": "#272b9f",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 238,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37614,
    "c": 0.18168,
    "h": 272.1
  },
  "luminance": 0.04662
}

Semantic roles & 50–950 ramp

primary
#272B9F
secondary
#C0BC62
accent
#DE44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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