#274D91#274D91

#274D91 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.0% C 0.120 H 261.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#274D91
RGBrgb(39, 77, 145)
HSLhsl(218, 58%, 36%)
HSVhsv(218, 73%, 57%)
CMYKcmyk(73.1%, 46.9%, 0%, 43.1%)
CIE-LABlab(33.53, 10.99, -41.54)
CIE-LCHlch(33.53, 42.97, 284.82°)
OKLaboklab(43.05% -0.0188 -0.119)
OKLCHoklch(43.05% 0.12 261)
XYZxyz(8.5996, 7.7825, 27.8315)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D91 #916B27
analogous
#278291 #274D91 #362791
triadic
#274D91 #91274D #4D9127
tetradic
#274D91 #912782 #916B27 #279136
square
#274D91 #912782 #916B27 #279136
split-complementary
#274D91 #913627 #829127
monochromatic
#0D1A31 #1A3361 #274D91 #3467C1 #5F89D4

Accessibility & contrast

On white

8.21
#274D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#274D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D91
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D91#FFFFFF#000000##FFFFFF
##274D911.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5494
Deuteranopia (green-blind)
#144A90
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274d91;
/* rgb */ color: rgb(39, 77, 145);
/* oklch */ color: oklch(43.0% 0.120 261.0);
Tailwind
colors: {
  custom: {
    50: '#6f7eb2',
    500: '#274d91',
    950: '#000000',
  },
}
SCSS
$custom: #274d91;
$custom-light: #6f7eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#274d91",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 218.491,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43049,
    "c": 0.12047,
    "h": 261
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#274D91
secondary
#B9975B
accent
#AA47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #274D91

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

Preview Lab → · Contrast checker → · Palette generator →

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