#274E96#274E96

#274E96 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.126 H 261.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#274E96
RGBrgb(39, 78, 150)
HSLhsl(219, 59%, 37%)
HSVhsv(219, 74%, 59%)
CMYKcmyk(74%, 48%, 0%, 41.2%)
CIE-LABlab(34.15, 12.27, -43.57)
CIE-LCHlch(34.15, 45.27, 285.72°)
OKLaboklab(43.64% -0.0189 -0.125)
OKLCHoklch(43.64% 0.126 261.4)
XYZxyz(9.0641, 8.0811, 29.9304)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E96 #966F27
analogous
#278696 #274E96 #382796
triadic
#274E96 #96274E #4E9627
tetradic
#274E96 #962786 #966F27 #279638
square
#274E96 #962786 #966F27 #279638
split-complementary
#274E96 #963827 #869627
monochromatic
#0E1B35 #1A3565 #274E96 #3467C7 #618AD6

Accessibility & contrast

On white

8.03
#274E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#274E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E96
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E96#FFFFFF#000000##FFFFFF
##274E961.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#0B4C95
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274e96;
/* rgb */ color: rgb(39, 78, 150);
/* oklch */ color: oklch(43.6% 0.126 261.4);
Tailwind
colors: {
  custom: {
    50: '#707fb5',
    500: '#274e96',
    950: '#000000',
  },
}
SCSS
$custom: #274e96;
$custom-light: #707fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#274e96",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 150
  },
  "hsl": {
    "h": 218.919,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43635,
    "c": 0.12638,
    "h": 261.4
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#274E96
secondary
#BC9A5D
accent
#AB46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #274E96

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

Preview Lab → · Contrast checker → · Palette generator →

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