#273898#273898

#273898 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.157 H 269.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#273898
RGBrgb(39, 56, 152)
HSLhsl(231, 59%, 37%)
HSVhsv(231, 74%, 60%)
CMYKcmyk(74.3%, 63.2%, 0%, 40.4%)
CIE-LABlab(28.18, 27.91, -54.47)
CIE-LCHlch(28.18, 61.20, 297.13°)
OKLaboklab(39.18% -0.0007 -0.1573)
OKLCHoklch(39.18% 0.157 269.7)
XYZxyz(7.9164, 5.5259, 30.3491)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273898 #988727
analogous
#277198 #273898 #4E2798
triadic
#273898 #982738 #389827
tetradic
#273898 #982771 #988727 #27984E
square
#273898 #982771 #988727 #27984E
split-complementary
#273898 #984E27 #719827
monochromatic
#0E1437 #1B2667 #273898 #334AC9 #6374D7

Accessibility & contrast

On white

9.97
#273898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#273898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273898
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273898#FFFFFF#000000##FFFFFF
##2738981.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273898;
/* rgb */ color: rgb(39, 56, 152);
/* oklch */ color: oklch(39.2% 0.157 269.7);
Tailwind
colors: {
  custom: {
    50: '#726eb7',
    500: '#273898',
    950: '#000000',
  },
}
SCSS
$custom: #273898;
$custom-light: #726eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#273898",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 152
  },
  "hsl": {
    "h": 230.973,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39183,
    "c": 0.15734,
    "h": 269.7
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#273898
secondary
#BCAE5E
accent
#CB45E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273898

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

Preview Lab → · Contrast checker → · Palette generator →

#273898 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva