#273B8D#273B8D

#273B8D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.138 H 268.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#273B8D
RGBrgb(39, 59, 141)
HSLhsl(228, 57%, 35%)
HSVhsv(228, 72%, 55%)
CMYKcmyk(72.3%, 58.2%, 0%, 44.7%)
CIE-LABlab(28.07, 21.69, -47.90)
CIE-LCHlch(28.07, 52.58, 294.36°)
OKLaboklab(38.81% -0.0031 -0.138)
OKLCHoklch(38.81% 0.138 268.7)
XYZxyz(7.2067, 5.4816, 25.8724)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B8D #8D7927
analogous
#276E8D #273B8D #46278D
triadic
#273B8D #8D273B #3B8D27
tetradic
#273B8D #8D276E #8D7927 #278D46
square
#273B8D #8D276E #8D7927 #278D46
split-complementary
#273B8D #8D4627 #6E8D27
monochromatic
#0C132D #1A275D #273B8D #344FBD #5C73D2

Accessibility & contrast

On white

10.02
#273B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#273B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B8D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B8D#FFFFFF#000000##FFFFFF
##273B8D1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273b8d;
/* rgb */ color: rgb(39, 59, 141);
/* oklch */ color: oklch(38.8% 0.138 268.7);
Tailwind
colors: {
  custom: {
    50: '#6f70af',
    500: '#273b8d',
    950: '#000000',
  },
}
SCSS
$custom: #273b8d;
$custom-light: #6f70af;
$custom-dark: #000000;
JSON
{
  "hex": "#273b8d",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 228.235,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38808,
    "c": 0.13806,
    "h": 268.7
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#273B8D
secondary
#B7A559
accent
#C248E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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