#272A4E#272A4E

#272A4E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.065 H 278.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#272A4E
RGBrgb(39, 42, 78)
HSLhsl(235, 33%, 23%)
HSVhsv(235, 50%, 31%)
CMYKcmyk(50%, 46.2%, 0%, 69.4%)
CIE-LABlab(18.53, 9.88, -22.65)
CIE-LCHlch(18.53, 24.71, 293.55°)
OKLaboklab(30.14% 0.0092 -0.064)
OKLCHoklch(30.14% 0.065 278.2)
XYZxyz(3.0394, 2.6372, 7.5551)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A4E #4E4B27
analogous
#273D4E #272A4E #37274E
triadic
#272A4E #4E272A #2A4E27
tetradic
#272A4E #4E273D #4E4B27 #274E37
square
#272A4E #4E273D #4E4B27 #274E37
split-complementary
#272A4E #4E3727 #3D4E27
monochromatic
#0A0B14 #131425 #272A4E #3B4077 #5056A0

Accessibility & contrast

On white

13.75
#272A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#272A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A4E
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A4E#FFFFFF#000000##FFFFFF
##272A4E1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F4F
Deuteranopia (green-blind)
#192C4D
Tritanopia (blue-blind)
#1A3138
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #272a4e;
/* rgb */ color: rgb(39, 42, 78);
/* oklch */ color: oklch(30.1% 0.065 278.2);
Tailwind
colors: {
  custom: {
    50: '#646380',
    500: '#272a4e',
    950: '#000000',
  },
}
SCSS
$custom: #272a4e;
$custom-light: #646380;
$custom-dark: #000000;
JSON
{
  "hex": "#272a4e",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 235.385,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30141,
    "c": 0.06469,
    "h": 278.2
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#272A4E
secondary
#817D50
accent
#C15EC9
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#05050A
muted
#7A797C

Preview Lab

Preview with #272A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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