#274CA6#274CA6

#274CA6 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.151 H 264.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#274CA6
RGBrgb(39, 76, 166)
HSLhsl(223, 62%, 40%)
HSVhsv(223, 77%, 65%)
CMYKcmyk(76.5%, 54.2%, 0%, 34.9%)
CIE-LABlab(34.71, 19.83, -52.31)
CIE-LCHlch(34.71, 55.95, 290.76°)
OKLaboklab(44.42% -0.0152 -0.1507)
OKLCHoklch(44.42% 0.151 264.2)
XYZxyz(10.3016, 8.3522, 37.1382)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CA6 #A68127
analogous
#278BA6 #274CA6 #4227A6
triadic
#274CA6 #A6274C #4CA627
tetradic
#274CA6 #A6278B #A68127 #27A642
square
#274CA6 #A6278B #A68127 #27A642
split-complementary
#274CA6 #A64227 #8BA627
monochromatic
#101F43 #1B3574 #274CA6 #3A66D1 #6B8CDC

Accessibility & contrast

On white

7.86
#274CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#274CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CA6
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CA6#FFFFFF#000000##FFFFFF
##274CA61.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0358A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274ca6;
/* rgb */ color: rgb(39, 76, 166);
/* oklch */ color: oklch(44.4% 0.151 264.2);
Tailwind
colors: {
  custom: {
    50: '#747dc1',
    500: '#274ca6',
    950: '#000000',
  },
}
SCSS
$custom: #274ca6;
$custom-light: #747dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#274ca6",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 222.52,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.15148,
    "h": 264.2
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#274CA6
secondary
#C3A866
accent
#B643E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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