#273F9B#273F9B

#273F9B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.153 H 267.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#273F9B
RGBrgb(39, 63, 155)
HSLhsl(228, 60%, 38%)
HSVhsv(228, 75%, 61%)
CMYKcmyk(74.8%, 59.4%, 0%, 39.2%)
CIE-LABlab(30.28, 24.35, -52.87)
CIE-LCHlch(30.28, 58.20, 294.73°)
OKLaboklab(40.82% -0.0058 -0.1526)
OKLCHoklch(40.82% 0.153 267.8)
XYZxyz(8.5285, 6.3520, 31.7806)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F9B #9B8327
analogous
#27799B #273F9B #49279B
triadic
#273F9B #9B273F #3F9B27
tetradic
#273F9B #9B2779 #9B8327 #279B49
square
#273F9B #9B2779 #9B8327 #279B49
split-complementary
#273F9B #9B4927 #799B27
monochromatic
#0E1739 #1B2B6A #273F9B #3353CC #647CD8

Accessibility & contrast

On white

9.25
#273F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#273F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F9B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F9B#FFFFFF#000000##FFFFFF
##273F9B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273f9b;
/* rgb */ color: rgb(39, 63, 155);
/* oklch */ color: oklch(40.8% 0.153 267.8);
Tailwind
colors: {
  custom: {
    50: '#7273b9',
    500: '#273f9b',
    950: '#000000',
  },
}
SCSS
$custom: #273f9b;
$custom-light: #7273b9;
$custom-dark: #000000;
JSON
{
  "hex": "#273f9b",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 227.586,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40822,
    "c": 0.15267,
    "h": 267.8
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#273F9B
secondary
#BEAA60
accent
#C245E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #273F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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