#273D7B#273D7B

#273D7B is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.109 H 266.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#273D7B
RGBrgb(39, 61, 123)
HSLhsl(224, 52%, 32%)
HSVhsv(224, 68%, 48%)
CMYKcmyk(68.3%, 50.4%, 0%, 51.8%)
CIE-LABlab(27.29, 13.36, -37.93)
CIE-LCHlch(27.29, 40.22, 289.40°)
OKLaboklab(37.8% -0.0066 -0.1087)
OKLCHoklch(37.8% 0.109 266.5)
XYZxyz(6.0794, 5.1983, 19.4180)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D7B #7B6527
analogous
#27677B #273D7B #3B277B
triadic
#273D7B #7B273D #3D7B27
tetradic
#273D7B #7B2767 #7B6527 #277B3B
square
#273D7B #7B2767 #7B6527 #277B3B
split-complementary
#273D7B #7B3B27 #677B27
monochromatic
#0A0F1E #18264D #273D7B #3654A9 #5472C9

Accessibility & contrast

On white

10.30
#273D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#273D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D7B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D7B#FFFFFF#000000##FFFFFF
##273D7B1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457D
Deuteranopia (green-blind)
#083D7A
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273d7b;
/* rgb */ color: rgb(39, 61, 123);
/* oklch */ color: oklch(37.8% 0.109 266.5);
Tailwind
colors: {
  custom: {
    50: '#6b72a2',
    500: '#273d7b',
    950: '#000000',
  },
}
SCSS
$custom: #273d7b;
$custom-light: #6b72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#273d7b",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 224.286,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37797,
    "c": 0.10886,
    "h": 266.5
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#273D7B
secondary
#AD9551
accent
#B64CDB
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #273D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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