#273B7B#273B7B

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

Color values

HEX#273B7B
RGBrgb(39, 59, 123)
HSLhsl(226, 52%, 32%)
HSVhsv(226, 68%, 48%)
CMYKcmyk(68.3%, 52%, 0%, 51.8%)
CIE-LABlab(26.70, 14.74, -38.88)
CIE-LCHlch(26.70, 41.58, 290.76°)
OKLaboklab(37.35% -0.0045 -0.1115)
OKLCHoklch(37.35% 0.112 267.7)
XYZxyz(5.9746, 4.9888, 19.3831)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B7B #7B6727
analogous
#27657B #273B7B #3D277B
triadic
#273B7B #7B273B #3B7B27
tetradic
#273B7B #7B2765 #7B6727 #277B3D
square
#273B7B #7B2765 #7B6727 #277B3D
split-complementary
#273B7B #7B3D27 #657B27
monochromatic
#0A0E1E #18254D #273B7B #3651A9 #5470C9

Accessibility & contrast

On white

10.51
#273B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#273B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B7B
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B7B#FFFFFF#000000##FFFFFF
##273B7B1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#003C7A
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273b7b;
/* rgb */ color: rgb(39, 59, 123);
/* oklch */ color: oklch(37.3% 0.112 267.7);
Tailwind
colors: {
  custom: {
    50: '#6b70a2',
    500: '#273b7b',
    950: '#000000',
  },
}
SCSS
$custom: #273b7b;
$custom-light: #6b70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#273b7b",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 123
  },
  "hsl": {
    "h": 225.714,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37348,
    "c": 0.11158,
    "h": 267.7
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#273B7B
secondary
#AD9751
accent
#B94CDB
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #273B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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