#274E98#274E98

#274E98 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.129 H 261.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#274E98
RGBrgb(39, 78, 152)
HSLhsl(219, 59%, 37%)
HSVhsv(219, 74%, 60%)
CMYKcmyk(74.3%, 48.7%, 0%, 40.4%)
CIE-LABlab(34.29, 13.05, -44.57)
CIE-LCHlch(34.29, 46.44, 286.32°)
OKLaboklab(43.78% -0.0186 -0.1279)
OKLCHoklch(43.78% 0.129 261.7)
XYZxyz(9.2266, 8.1461, 30.7858)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E98 #987127
analogous
#278698 #274E98 #392798
triadic
#274E98 #98274E #4E9827
tetradic
#274E98 #982786 #987127 #279839
square
#274E98 #982786 #987127 #279839
split-complementary
#274E98 #983927 #869827
monochromatic
#0E1C37 #1B3567 #274E98 #3367C9 #638BD7

Accessibility & contrast

On white

7.99
#274E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#274E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E98
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E98#FFFFFF#000000##FFFFFF
##274E981.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569B
Deuteranopia (green-blind)
#054C97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274e98;
/* rgb */ color: rgb(39, 78, 152);
/* oklch */ color: oklch(43.8% 0.129 261.7);
Tailwind
colors: {
  custom: {
    50: '#717fb7',
    500: '#274e98',
    950: '#000000',
  },
}
SCSS
$custom: #274e98;
$custom-light: #717fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#274e98",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 219.292,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43781,
    "c": 0.12923,
    "h": 261.7
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#274E98
secondary
#BC9C5E
accent
#AC45E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #274E98

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

Preview Lab → · Contrast checker → · Palette generator →

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