#274E9E#274E9E

#274E9E is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.138 H 262.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#274E9E
RGBrgb(39, 78, 158)
HSLhsl(220, 60%, 39%)
HSVhsv(220, 75%, 62%)
CMYKcmyk(75.3%, 50.6%, 0%, 38%)
CIE-LABlab(34.70, 15.38, -47.53)
CIE-LCHlch(34.70, 49.96, 287.93°)
OKLaboklab(44.23% -0.0177 -0.1366)
OKLCHoklch(44.23% 0.138 262.6)
XYZxyz(9.7304, 8.3477, 33.4396)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E9E #9E7727
analogous
#27899E #274E9E #3B279E
triadic
#274E9E #9E274E #4E9E27
tetradic
#274E9E #9E2789 #9E7727 #279E3B
square
#274E9E #9E2789 #9E7727 #279E3B
split-complementary
#274E9E #9E3B27 #899E27
monochromatic
#0F1E3C #1B366D #274E9E #3567CD #668CD9

Accessibility & contrast

On white

7.87
#274E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#274E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E9E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E9E#FFFFFF#000000##FFFFFF
##274E9E1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274e9e;
/* rgb */ color: rgb(39, 78, 158);
/* oklch */ color: oklch(44.2% 0.138 262.6);
Tailwind
colors: {
  custom: {
    50: '#727fbb',
    500: '#274e9e',
    950: '#000000',
  },
}
SCSS
$custom: #274e9e;
$custom-light: #727fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#274e9e",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 158
  },
  "hsl": {
    "h": 220.336,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.13774,
    "h": 262.6
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#274E9E
secondary
#BFA162
accent
#AF44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274E9E

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

Preview Lab → · Contrast checker → · Palette generator →

#274E9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva