#274AA8#274AA8

#274AA8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.157 H 265.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#274AA8
RGBrgb(39, 74, 168)
HSLhsl(224, 62%, 41%)
HSVhsv(224, 77%, 66%)
CMYKcmyk(76.8%, 56%, 0%, 34.1%)
CIE-LABlab(34.30, 21.95, -54.16)
CIE-LCHlch(34.30, 58.44, 292.06°)
OKLaboklab(44.16% -0.0135 -0.1562)
OKLCHoklch(44.16% 0.157 265.1)
XYZxyz(10.3509, 8.1549, 38.0667)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AA8 #A88527
analogous
#278AA8 #274AA8 #4427A8
triadic
#274AA8 #A8274A #4AA827
tetradic
#274AA8 #A8278A #A88527 #27A844
square
#274AA8 #A8278A #A88527 #27A844
split-complementary
#274AA8 #A84427 #8AA827
monochromatic
#101E45 #1B3476 #274AA8 #3B64D1 #6C8BDD

Accessibility & contrast

On white

7.98
#274AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274AA8
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AA8#FFFFFF#000000##FFFFFF
##274AA81.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274aa8;
/* rgb */ color: rgb(39, 74, 168);
/* oklch */ color: oklch(44.2% 0.157 265.1);
Tailwind
colors: {
  custom: {
    50: '#757cc3',
    500: '#274aa8',
    950: '#000000',
  },
}
SCSS
$custom: #274aa8;
$custom-light: #757cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#274aa8",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 168
  },
  "hsl": {
    "h": 223.721,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.15677,
    "h": 265.1
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#274AA8
secondary
#C3AA67
accent
#B942E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #274AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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