#274D9C#274D9C

#274D9C is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.136 H 262.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#274D9C
RGBrgb(39, 77, 156)
HSLhsl(221, 60%, 38%)
HSVhsv(221, 75%, 61%)
CMYKcmyk(75%, 50.6%, 0%, 38.8%)
CIE-LABlab(34.27, 15.27, -47.01)
CIE-LCHlch(34.27, 49.43, 288.00°)
OKLaboklab(43.86% -0.0171 -0.1351)
OKLCHoklch(43.86% 0.136 262.8)
XYZxyz(9.4892, 8.1384, 32.5168)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D9C #9C7627
analogous
#27879C #274D9C #3B279C
triadic
#274D9C #9C274D #4D9C27
tetradic
#274D9C #9C2787 #9C7627 #279C3B
square
#274D9C #9C2787 #9C7627 #279C3B
split-complementary
#274D9C #9C3B27 #879C27
monochromatic
#0F1D3A #1B356B #274D9C #3465CC #658AD8

Accessibility & contrast

On white

7.99
#274D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274D9C
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D9C#FFFFFF#000000##FFFFFF
##274D9C1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274d9c;
/* rgb */ color: rgb(39, 77, 156);
/* oklch */ color: oklch(43.9% 0.136 262.8);
Tailwind
colors: {
  custom: {
    50: '#727eba',
    500: '#274d9c',
    950: '#000000',
  },
}
SCSS
$custom: #274d9c;
$custom-light: #727eba;
$custom-dark: #000000;
JSON
{
  "hex": "#274d9c",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 220.513,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43857,
    "c": 0.13618,
    "h": 262.8
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#274D9C
secondary
#BEA061
accent
#B045E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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