#273D74#273D74

#273D74 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.098 H 265.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#273D74
RGBrgb(39, 61, 116)
HSLhsl(223, 50%, 30%)
HSVhsv(223, 66%, 45%)
CMYKcmyk(66.4%, 47.4%, 0%, 54.5%)
CIE-LABlab(26.82, 10.65, -34.27)
CIE-LCHlch(26.82, 35.89, 287.27°)
OKLaboklab(37.28% -0.0077 -0.0979)
OKLCHoklch(37.28% 0.098 265.5)
XYZxyz(5.6567, 5.0293, 17.1923)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D74 #745E27
analogous
#276374 #273D74 #372774
triadic
#273D74 #74273D #3D7427
tetradic
#273D74 #742763 #745E27 #277437
square
#273D74 #742763 #745E27 #277437
split-complementary
#273D74 #743727 #637427
monochromatic
#080D18 #182546 #273D74 #3655A2 #5172C4

Accessibility & contrast

On white

10.47
#273D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#273D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D74
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D74#FFFFFF#000000##FFFFFF
##273D741.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234376
Deuteranopia (green-blind)
#163C73
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273d74;
/* rgb */ color: rgb(39, 61, 116);
/* oklch */ color: oklch(37.3% 0.098 265.5);
Tailwind
colors: {
  custom: {
    50: '#6a729c',
    500: '#273d74',
    950: '#000000',
  },
}
SCSS
$custom: #273d74;
$custom-light: #6a729c;
$custom-dark: #000000;
JSON
{
  "hex": "#273d74",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 116
  },
  "hsl": {
    "h": 222.857,
    "s": 49.677,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37282,
    "c": 0.09821,
    "h": 265.5
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#273D74
secondary
#A68E50
accent
#B24FD9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #273D74

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

Preview Lab → · Contrast checker → · Palette generator →

#273D74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva