#273168#273168

#273168 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.096 H 272.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#273168
RGBrgb(39, 49, 104)
HSLhsl(231, 45%, 28%)
HSVhsv(231, 63%, 41%)
CMYKcmyk(62.5%, 52.9%, 0%, 59.2%)
CIE-LABlab(22.40, 14.47, -33.67)
CIE-LCHlch(22.40, 36.65, 293.25°)
OKLaboklab(33.65% 0.0041 -0.0963)
OKLCHoklch(33.65% 0.096 272.5)
XYZxyz(4.4329, 3.6271, 13.5605)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273168 #685E27
analogous
#275168 #273168 #3D2768
triadic
#273168 #682731 #316827
tetradic
#273168 #682751 #685E27 #27683D
square
#273168 #682751 #685E27 #27683D
split-complementary
#273168 #683D27 #516827
monochromatic
#080A16 #161C3B #273168 #384695 #4D5EBC

Accessibility & contrast

On white

12.17
#273168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#273168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273168
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273168#FFFFFF#000000##FFFFFF
##2731681.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14386A
Deuteranopia (green-blind)
#083367
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #273168;
/* rgb */ color: rgb(39, 49, 104);
/* oklch */ color: oklch(33.6% 0.096 272.5);
Tailwind
colors: {
  custom: {
    50: '#686893',
    500: '#273168',
    950: '#000000',
  },
}
SCSS
$custom: #273168;
$custom-light: #686893;
$custom-dark: #000000;
JSON
{
  "hex": "#273168",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 104
  },
  "hsl": {
    "h": 230.769,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33649,
    "c": 0.0964,
    "h": 272.5
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#273168
secondary
#9B8F50
accent
#C153D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #273168

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

Preview Lab → · Contrast checker → · Palette generator →

#273168 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva