#273B7D#273B7D

#273B7D is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.5% C 0.115 H 267.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#273B7D
RGBrgb(39, 59, 125)
HSLhsl(226, 52%, 32%)
HSVhsv(226, 69%, 49%)
CMYKcmyk(68.8%, 52.8%, 0%, 51%)
CIE-LABlab(26.85, 15.51, -39.91)
CIE-LCHlch(26.85, 42.82, 291.24°)
OKLaboklab(37.5% -0.0043 -0.1145)
OKLCHoklch(37.5% 0.115 267.8)
XYZxyz(6.1011, 5.0394, 20.0492)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B7D #7D6927
analogous
#27667D #273B7D #3E277D
triadic
#273B7D #7D273B #3B7D27
tetradic
#273B7D #7D2766 #7D6927 #277D3E
square
#273B7D #7D2766 #7D6927 #277D3E
split-complementary
#273B7D #7D3E27 #667D27
monochromatic
#0A0F20 #18254E #273B7D #3651AC #5570CA

Accessibility & contrast

On white

10.46
#273B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273B7D
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B7D#FFFFFF#000000##FFFFFF
##273B7D1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14447F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273b7d;
/* rgb */ color: rgb(39, 59, 125);
/* oklch */ color: oklch(37.5% 0.115 267.8);
Tailwind
colors: {
  custom: {
    50: '#6c70a3',
    500: '#273b7d',
    950: '#000000',
  },
}
SCSS
$custom: #273b7d;
$custom-light: #6c70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#273b7d",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 125
  },
  "hsl": {
    "h": 226.047,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37504,
    "c": 0.11459,
    "h": 267.8
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#273B7D
secondary
#AF9951
accent
#BA4CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #273B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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