#274AA6#274AA6

#274AA6 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.154 H 264.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#274AA6
RGBrgb(39, 74, 166)
HSLhsl(223, 62%, 40%)
HSVhsv(223, 77%, 65%)
CMYKcmyk(76.5%, 55.4%, 0%, 34.9%)
CIE-LABlab(34.15, 21.17, -53.22)
CIE-LCHlch(34.15, 57.27, 291.70°)
OKLaboklab(44% -0.0136 -0.1534)
OKLCHoklch(44% 0.154 264.9)
XYZxyz(10.1660, 8.0809, 37.0930)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AA6 #A68327
analogous
#2789A6 #274AA6 #4427A6
triadic
#274AA6 #A6274A #4AA627
tetradic
#274AA6 #A62789 #A68327 #27A644
square
#274AA6 #A62789 #A68327 #27A644
split-complementary
#274AA6 #A64427 #89A627
monochromatic
#101E43 #1B3474 #274AA6 #3A63D1 #6B8ADC

Accessibility & contrast

On white

8.03
#274AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#274AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274AA6
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AA6#FFFFFF#000000##FFFFFF
##274AA61.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274aa6;
/* rgb */ color: rgb(39, 74, 166);
/* oklch */ color: oklch(44.0% 0.154 264.9);
Tailwind
colors: {
  custom: {
    50: '#747cc1',
    500: '#274aa6',
    950: '#000000',
  },
}
SCSS
$custom: #274aa6;
$custom-light: #747cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#274aa6",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 223.465,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43998,
    "c": 0.15401,
    "h": 264.9
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#274AA6
secondary
#C3A966
accent
#B843E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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