#273D9F#273D9F

#273D9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.161 H 268.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#273D9F
RGBrgb(39, 61, 159)
HSLhsl(229, 61%, 39%)
HSVhsv(229, 75%, 62%)
CMYKcmyk(75.5%, 61.6%, 0%, 37.6%)
CIE-LABlab(30.09, 27.22, -55.62)
CIE-LCHlch(30.09, 61.92, 296.07°)
OKLaboklab(40.78% -0.0043 -0.1606)
OKLCHoklch(40.78% 0.161 268.4)
XYZxyz(8.7613, 6.2711, 33.5429)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D9F #9F8927
analogous
#27799F #273D9F #4D279F
triadic
#273D9F #9F273D #3D9F27
tetradic
#273D9F #9F2779 #9F8927 #279F4D
square
#273D9F #9F2779 #9F8927 #279F4D
split-complementary
#273D9F #9F4D27 #799F27
monochromatic
#0F173D #1B2A6E #273D9F #3651CE #677CDA

Accessibility & contrast

On white

9.32
#273D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#273D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D9F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D9F#FFFFFF#000000##FFFFFF
##273D9F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273d9f;
/* rgb */ color: rgb(39, 61, 159);
/* oklch */ color: oklch(40.8% 0.161 268.4);
Tailwind
colors: {
  custom: {
    50: '#7472bc',
    500: '#273d9f',
    950: '#000000',
  },
}
SCSS
$custom: #273d9f;
$custom-light: #7472bc;
$custom-dark: #000000;
JSON
{
  "hex": "#273d9f",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 229,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40779,
    "c": 0.16071,
    "h": 268.4
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#273D9F
secondary
#C0AE62
accent
#C644E4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #273D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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