#273E8E#273E8E

#273E8E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.136 H 267.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#273E8E
RGBrgb(39, 62, 142)
HSLhsl(227, 57%, 35%)
HSVhsv(227, 73%, 56%)
CMYKcmyk(72.5%, 56.3%, 0%, 44.3%)
CIE-LABlab(28.98, 20.02, -47.04)
CIE-LCHlch(28.98, 51.12, 293.06°)
OKLaboklab(39.52% -0.0056 -0.1354)
OKLCHoklch(39.52% 0.136 267.6)
XYZxyz(7.4401, 5.8288, 26.3189)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E8E #8E7727
analogous
#27718E #273E8E #43278E
triadic
#273E8E #8E273E #3E8E27
tetradic
#273E8E #8E2771 #8E7727 #278E43
square
#273E8E #8E2771 #8E7727 #278E43
split-complementary
#273E8E #8E4327 #718E27
monochromatic
#0D142E #1A295E #273E8E #3453BE #5D77D2

Accessibility & contrast

On white

9.70
#273E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#273E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E8E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E8E#FFFFFF#000000##FFFFFF
##273E8E1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273e8e;
/* rgb */ color: rgb(39, 62, 142);
/* oklch */ color: oklch(39.5% 0.136 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f72b0',
    500: '#273e8e',
    950: '#000000',
  },
}
SCSS
$custom: #273e8e;
$custom-light: #6f72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#273e8e",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 142
  },
  "hsl": {
    "h": 226.602,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39517,
    "c": 0.13556,
    "h": 267.6
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#273E8E
secondary
#B8A359
accent
#BE48E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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