#274BAE#274BAE

#274BAE is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.164 H 265.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#274BAE
RGBrgb(39, 75, 174)
HSLhsl(224, 63%, 42%)
HSVhsv(224, 78%, 68%)
CMYKcmyk(77.6%, 56.9%, 0%, 31.8%)
CIE-LABlab(35.04, 23.59, -56.54)
CIE-LCHlch(35.04, 61.27, 292.65°)
OKLaboklab(44.86% -0.0138 -0.1632)
OKLCHoklch(44.86% 0.164 265.2)
XYZxyz(10.9901, 8.5182, 41.1012)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BAE #AE8A27
analogous
#278FAE #274BAE #4727AE
triadic
#274BAE #AE274B #4BAE27
tetradic
#274BAE #AE278F #AE8A27 #27AE47
square
#274BAE #AE278F #AE8A27 #27AE47
split-complementary
#274BAE #AE4727 #8FAE27
monochromatic
#11204A #1C357C #274BAE #3E66D4 #708EDF

Accessibility & contrast

On white

7.77
#274BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#274BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274BAE
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BAE#FFFFFF#000000##FFFFFF
##274BAE1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274bae;
/* rgb */ color: rgb(39, 75, 174);
/* oklch */ color: oklch(44.9% 0.164 265.2);
Tailwind
colors: {
  custom: {
    50: '#767cc7',
    500: '#274bae',
    950: '#000000',
  },
}
SCSS
$custom: #274bae;
$custom-light: #767cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#274bae",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 224,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44862,
    "c": 0.16376,
    "h": 265.2
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#274BAE
secondary
#C6AE6B
accent
#BA41E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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