#274F96#274F96

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

Color values

HEX#274F96
RGBrgb(39, 79, 150)
HSLhsl(218, 59%, 37%)
HSVhsv(218, 74%, 59%)
CMYKcmyk(74%, 47.3%, 0%, 41.2%)
CIE-LABlab(34.45, 11.60, -43.10)
CIE-LCHlch(34.45, 44.63, 285.06°)
OKLaboklab(43.86% -0.0198 -0.1235)
OKLCHoklch(43.86% 0.125 260.9)
XYZxyz(9.1357, 8.2243, 29.9542)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F96 #966E27
analogous
#278796 #274F96 #362796
triadic
#274F96 #96274F #4F9627
tetradic
#274F96 #962787 #966E27 #279636
square
#274F96 #962787 #966E27 #279636
split-complementary
#274F96 #963627 #879627
monochromatic
#0E1C35 #1A3565 #274F96 #3469C7 #618BD6

Accessibility & contrast

On white

7.94
#274F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#274F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F96
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F96#FFFFFF#000000##FFFFFF
##274F961.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5699
Deuteranopia (green-blind)
#104C95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274f96;
/* rgb */ color: rgb(39, 79, 150);
/* oklch */ color: oklch(43.9% 0.125 260.9);
Tailwind
colors: {
  custom: {
    50: '#707fb5',
    500: '#274f96',
    950: '#000000',
  },
}
SCSS
$custom: #274f96;
$custom-light: #707fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#274f96",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 150
  },
  "hsl": {
    "h": 218.378,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43862,
    "c": 0.12513,
    "h": 260.9
  },
  "luminance": 0.08225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274F96

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

Preview Lab → · Contrast checker → · Palette generator →

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