#273D95#273D95

#273D95 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.147 H 268.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#273D95
RGBrgb(39, 61, 149)
HSLhsl(228, 59%, 37%)
HSVhsv(228, 74%, 58%)
CMYKcmyk(73.8%, 59.1%, 0%, 41.6%)
CIE-LABlab(29.26, 23.40, -50.88)
CIE-LCHlch(29.26, 56.01, 294.70°)
OKLaboklab(39.9% -0.0045 -0.1468)
OKLCHoklch(39.9% 0.147 268.3)
XYZxyz(7.9284, 5.9379, 29.1562)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D95 #957F27
analogous
#277495 #273D95 #482795
triadic
#273D95 #95273D #3D9527
tetradic
#273D95 #952774 #957F27 #279548
square
#273D95 #952774 #957F27 #279548
split-complementary
#273D95 #954827 #749527
monochromatic
#0E1534 #1A2964 #273D95 #3451C6 #6178D6

Accessibility & contrast

On white

9.60
#273D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#273D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D95
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D95#FFFFFF#000000##FFFFFF
##273D951.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273d95;
/* rgb */ color: rgb(39, 61, 149);
/* oklch */ color: oklch(39.9% 0.147 268.3);
Tailwind
colors: {
  custom: {
    50: '#7172b5',
    500: '#273d95',
    950: '#000000',
  },
}
SCSS
$custom: #273d95;
$custom-light: #7172b5;
$custom-dark: #000000;
JSON
{
  "hex": "#273d95",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 228,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39901,
    "c": 0.14683,
    "h": 268.3
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#273D95
secondary
#BBA85D
accent
#C346E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273D95

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

Preview Lab → · Contrast checker → · Palette generator →

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