#274D9D#274D9D

#274D9D is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.138 H 262.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#274D9D
RGBrgb(39, 77, 157)
HSLhsl(221, 60%, 38%)
HSVhsv(221, 75%, 62%)
CMYKcmyk(75.2%, 51%, 0%, 38.4%)
CIE-LABlab(34.34, 15.66, -47.50)
CIE-LCHlch(34.34, 50.02, 288.25°)
OKLaboklab(43.93% -0.017 -0.1365)
OKLCHoklch(43.93% 0.138 262.9)
XYZxyz(9.5742, 8.1724, 32.9646)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D9D #9D7727
analogous
#27889D #274D9D #3C279D
triadic
#274D9D #9D274D #4D9D27
tetradic
#274D9D #9D2788 #9D7727 #279D3C
square
#274D9D #9D2788 #9D7727 #279D3C
split-complementary
#274D9D #9D3C27 #889D27
monochromatic
#0F1D3B #1B356C #274D9D #3566CD #668BD9

Accessibility & contrast

On white

7.97
#274D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274D9D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D9D#FFFFFF#000000##FFFFFF
##274D9D1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D56A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274d9d;
/* rgb */ color: rgb(39, 77, 157);
/* oklch */ color: oklch(43.9% 0.138 262.9);
Tailwind
colors: {
  custom: {
    50: '#727eba',
    500: '#274d9d',
    950: '#000000',
  },
}
SCSS
$custom: #274d9d;
$custom-light: #727eba;
$custom-dark: #000000;
JSON
{
  "hex": "#274d9d",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 220.678,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.1376,
    "h": 262.9
  },
  "luminance": 0.08173
}

Semantic roles & 50–950 ramp

primary
#274D9D
secondary
#BFA161
accent
#B044E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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