#274D97#274D97

#274D97 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.129 H 262.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#274D97
RGBrgb(39, 77, 151)
HSLhsl(220, 59%, 37%)
HSVhsv(220, 74%, 59%)
CMYKcmyk(74.2%, 49%, 0%, 40.8%)
CIE-LABlab(33.93, 13.33, -44.54)
CIE-LCHlch(33.93, 46.49, 286.66°)
OKLaboklab(43.48% -0.0178 -0.1278)
OKLCHoklch(43.48% 0.129 262.1)
XYZxyz(9.0745, 7.9725, 30.3328)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D97 #977127
analogous
#278597 #274D97 #392797
triadic
#274D97 #97274D #4D9727
tetradic
#274D97 #972785 #977127 #279739
square
#274D97 #972785 #977127 #279739
split-complementary
#274D97 #973927 #859727
monochromatic
#0E1B36 #1A3466 #274D97 #3466C8 #6289D6

Accessibility & contrast

On white

8.09
#274D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#274D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D97
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D97#FFFFFF#000000##FFFFFF
##274D971.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#034B96
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274d97;
/* rgb */ color: rgb(39, 77, 151);
/* oklch */ color: oklch(43.5% 0.129 262.1);
Tailwind
colors: {
  custom: {
    50: '#717eb6',
    500: '#274d97',
    950: '#000000',
  },
}
SCSS
$custom: #274d97;
$custom-light: #717eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#274d97",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 219.643,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.12907,
    "h": 262.1
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#274D97
secondary
#BC9C5E
accent
#AD46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274D97

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

Preview Lab → · Contrast checker → · Palette generator →

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