#272E68#272E68

#272E68 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.101 H 274.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#272E68
RGBrgb(39, 46, 104)
HSLhsl(234, 45%, 28%)
HSVhsv(234, 63%, 41%)
CMYKcmyk(62.5%, 55.8%, 0%, 59.2%)
CIE-LABlab(21.52, 16.59, -35.08)
CIE-LCHlch(21.52, 38.81, 295.30°)
OKLaboklab(32.99% 0.0076 -0.1005)
OKLCHoklch(32.99% 0.101 274.3)
XYZxyz(4.3116, 3.3845, 13.5201)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E68 #686127
analogous
#274E68 #272E68 #402768
triadic
#272E68 #68272E #2E6827
tetradic
#272E68 #68274E #686127 #276840
square
#272E68 #68274E #686127 #276840
split-complementary
#272E68 #684027 #4E6827
monochromatic
#080A16 #161A3B #272E68 #384295 #4D59BC

Accessibility & contrast

On white

12.52
#272E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#272E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E68
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E68#FFFFFF#000000##FFFFFF
##272E681.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B366A
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272e68;
/* rgb */ color: rgb(39, 46, 104);
/* oklch */ color: oklch(33.0% 0.101 274.3);
Tailwind
colors: {
  custom: {
    50: '#686694',
    500: '#272e68',
    950: '#000000',
  },
}
SCSS
$custom: #272e68;
$custom-light: #686694;
$custom-dark: #000000;
JSON
{
  "hex": "#272e68",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 233.538,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32988,
    "c": 0.10078,
    "h": 274.3
  },
  "luminance": 0.03385
}

Semantic roles & 50–950 ramp

primary
#272E68
secondary
#9B9350
accent
#C753D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #272E68

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

Preview Lab → · Contrast checker → · Palette generator →

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