#273D8E#273D8E

#273D8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.137 H 268.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#273D8E
RGBrgb(39, 61, 142)
HSLhsl(227, 57%, 35%)
HSVhsv(227, 73%, 56%)
CMYKcmyk(72.5%, 57%, 0%, 44.3%)
CIE-LABlab(28.70, 20.71, -47.49)
CIE-LCHlch(28.70, 51.81, 293.56°)
OKLaboklab(39.31% -0.0048 -0.1368)
OKLCHoklch(39.31% 0.137 268)
XYZxyz(7.3862, 5.7211, 26.3010)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D8E #8E7827
analogous
#27718E #273D8E #44278E
triadic
#273D8E #8E273D #3D8E27
tetradic
#273D8E #8E2771 #8E7827 #278E44
square
#273D8E #8E2771 #8E7827 #278E44
split-complementary
#273D8E #8E4427 #718E27
monochromatic
#0D142E #1A285E #273D8E #3452BE #5D76D2

Accessibility & contrast

On white

9.79
#273D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#273D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D8E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D8E#FFFFFF#000000##FFFFFF
##273D8E1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273d8e;
/* rgb */ color: rgb(39, 61, 142);
/* oklch */ color: oklch(39.3% 0.137 268.0);
Tailwind
colors: {
  custom: {
    50: '#6f72b0',
    500: '#273d8e',
    950: '#000000',
  },
}
SCSS
$custom: #273d8e;
$custom-light: #6f72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#273d8e",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 227.184,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.13687,
    "h": 268
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#273D8E
secondary
#B8A359
accent
#C048E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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