#274D96#274D96

#274D96 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.128 H 261.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#274D96
RGBrgb(39, 77, 150)
HSLhsl(219, 59%, 37%)
HSVhsv(219, 74%, 59%)
CMYKcmyk(74%, 48.7%, 0%, 41.2%)
CIE-LABlab(33.86, 12.94, -44.05)
CIE-LCHlch(33.86, 45.91, 286.37°)
OKLaboklab(43.41% -0.018 -0.1264)
OKLCHoklch(43.41% 0.128 261.9)
XYZxyz(8.9936, 7.9401, 29.9069)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D96 #967027
analogous
#278596 #274D96 #382796
triadic
#274D96 #96274D #4D9627
tetradic
#274D96 #962785 #967027 #279638
square
#274D96 #962785 #967027 #279638
split-complementary
#274D96 #963827 #859627
monochromatic
#0E1B35 #1A3465 #274D96 #3466C7 #6189D6

Accessibility & contrast

On white

8.11
#274D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#274D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D96
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D96#FFFFFF#000000##FFFFFF
##274D961.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255599
Deuteranopia (green-blind)
#064B95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274d96;
/* rgb */ color: rgb(39, 77, 150);
/* oklch */ color: oklch(43.4% 0.128 261.9);
Tailwind
colors: {
  custom: {
    50: '#707eb5',
    500: '#274d96',
    950: '#000000',
  },
}
SCSS
$custom: #274d96;
$custom-light: #707eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#274d96",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 150
  },
  "hsl": {
    "h": 219.459,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4341,
    "c": 0.12764,
    "h": 261.9
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#274D96
secondary
#BC9B5D
accent
#AD46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274D96

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

Preview Lab → · Contrast checker → · Palette generator →

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