#274C9D#274C9D

#274C9D is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.139 H 263.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#274C9D
RGBrgb(39, 76, 157)
HSLhsl(221, 60%, 38%)
HSVhsv(221, 75%, 62%)
CMYKcmyk(75.2%, 51.6%, 0%, 38.4%)
CIE-LABlab(34.05, 16.34, -47.97)
CIE-LCHlch(34.05, 50.67, 288.81°)
OKLaboklab(43.71% -0.0161 -0.1379)
OKLCHoklch(43.71% 0.139 263.3)
XYZxyz(9.5048, 8.0335, 32.9414)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C9D #9D7827
analogous
#27879D #274C9D #3D279D
triadic
#274C9D #9D274C #4C9D27
tetradic
#274C9D #9D2787 #9D7827 #279D3D
square
#274C9D #9D2787 #9D7827 #279D3D
split-complementary
#274C9D #9D3D27 #879D27
monochromatic
#0F1D3B #1B346C #274C9D #3564CD #668AD9

Accessibility & contrast

On white

8.06
#274C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#274C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C9D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C9D#FFFFFF#000000##FFFFFF
##274C9D1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274c9d;
/* rgb */ color: rgb(39, 76, 157);
/* oklch */ color: oklch(43.7% 0.139 263.3);
Tailwind
colors: {
  custom: {
    50: '#727dba',
    500: '#274c9d',
    950: '#000000',
  },
}
SCSS
$custom: #274c9d;
$custom-light: #727dba;
$custom-dark: #000000;
JSON
{
  "hex": "#274c9d",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 221.186,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43714,
    "c": 0.13887,
    "h": 263.3
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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