#274E99#274E99

#274E99 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.131 H 261.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#274E99
RGBrgb(39, 78, 153)
HSLhsl(219, 59%, 38%)
HSVhsv(219, 75%, 60%)
CMYKcmyk(74.5%, 49%, 0%, 40%)
CIE-LABlab(34.35, 13.44, -45.07)
CIE-LCHlch(34.35, 47.03, 286.60°)
OKLaboklab(43.86% -0.0184 -0.1293)
OKLCHoklch(43.86% 0.131 261.9)
XYZxyz(9.3088, 8.1790, 31.2189)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E99 #997227
analogous
#278799 #274E99 #392799
triadic
#274E99 #99274E #4E9927
tetradic
#274E99 #992787 #997227 #279939
square
#274E99 #992787 #997227 #279939
split-complementary
#274E99 #993927 #879927
monochromatic
#0E1C37 #1B3568 #274E99 #3367CA #638BD7

Accessibility & contrast

On white

7.97
#274E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#274E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E99
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E99#FFFFFF#000000##FFFFFF
##274E991.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569C
Deuteranopia (green-blind)
#014C97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274e99;
/* rgb */ color: rgb(39, 78, 153);
/* oklch */ color: oklch(43.9% 0.131 261.9);
Tailwind
colors: {
  custom: {
    50: '#717fb7',
    500: '#274e99',
    950: '#000000',
  },
}
SCSS
$custom: #274e99;
$custom-light: #717fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#274e99",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 219.474,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43855,
    "c": 0.13065,
    "h": 261.9
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

primary
#274E99
secondary
#BD9D5F
accent
#AD45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #274E99

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

Preview Lab → · Contrast checker → · Palette generator →

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