#273678#273678

#273678 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.114 H 270.1°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#273678
RGBrgb(39, 54, 120)
HSLhsl(229, 51%, 31%)
HSVhsv(229, 68%, 47%)
CMYKcmyk(67.5%, 55%, 0%, 52.9%)
CIE-LABlab(25.03, 17.07, -39.69)
CIE-LCHlch(25.03, 43.20, 293.27°)
OKLaboklab(36.01% 0.0003 -0.1139)
OKLCHoklch(36.01% 0.114 270.1)
XYZxyz(5.5449, 4.4252, 18.3276)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273678 #786927
analogous
#275E78 #273678 #402778
triadic
#273678 #782736 #367827
tetradic
#273678 #78275E #786927 #277840
square
#273678 #78275E #786927 #277840
split-complementary
#273678 #784027 #5E7827
monochromatic
#090C1C #18214A #273678 #364BA6 #5268C7

Accessibility & contrast

On white

11.14
#273678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#273678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273678
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273678#FFFFFF#000000##FFFFFF
##2736781.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3F7A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #273678;
/* rgb */ color: rgb(39, 54, 120);
/* oklch */ color: oklch(36.0% 0.114 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b6c9f',
    500: '#273678',
    950: '#000000',
  },
}
SCSS
$custom: #273678;
$custom-light: #6b6c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#273678",
  "rgb": {
    "r": 39,
    "g": 54,
    "b": 120
  },
  "hsl": {
    "h": 228.889,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36012,
    "c": 0.11393,
    "h": 270.1
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#273678
secondary
#AA9A51
accent
#C04DDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #273678

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

Preview Lab → · Contrast checker → · Palette generator →

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