#273370#273370

#273370 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.106 H 271.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#273370
RGBrgb(39, 51, 112)
HSLhsl(230, 48%, 30%)
HSVhsv(230, 65%, 44%)
CMYKcmyk(65.2%, 54.5%, 0%, 56.1%)
CIE-LABlab(23.57, 16.10, -36.95)
CIE-LCHlch(23.57, 40.31, 293.55°)
OKLaboklab(34.72% 0.0027 -0.1059)
OKLCHoklch(34.72% 0.106 271.5)
XYZxyz(4.9442, 3.9684, 15.8315)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273370 #706427
analogous
#275870 #273370 #402770
triadic
#273370 #702733 #337027
tetradic
#273370 #702758 #706427 #277040
square
#273370 #702758 #706427 #277040
split-complementary
#273370 #704027 #587027
monochromatic
#080A17 #171E43 #273370 #37489D #5062C2

Accessibility & contrast

On white

11.71
#273370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#273370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273370
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273370#FFFFFF#000000##FFFFFF
##2733701.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3B72
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273370;
/* rgb */ color: rgb(39, 51, 112);
/* oklch */ color: oklch(34.7% 0.106 271.5);
Tailwind
colors: {
  custom: {
    50: '#696a99',
    500: '#273370',
    950: '#000000',
  },
}
SCSS
$custom: #273370;
$custom-light: #696a99;
$custom-dark: #000000;
JSON
{
  "hex": "#273370",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 230.137,
    "s": 48.344,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34718,
    "c": 0.10595,
    "h": 271.5
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#273370
secondary
#A29550
accent
#C250D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #273370

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

Preview Lab → · Contrast checker → · Palette generator →

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