#274E91#274E91

#274E91 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.119 H 260.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#274E91
RGBrgb(39, 78, 145)
HSLhsl(218, 58%, 36%)
HSVhsv(218, 73%, 57%)
CMYKcmyk(73.1%, 46.2%, 0%, 43.1%)
CIE-LABlab(33.82, 10.32, -41.06)
CIE-LCHlch(33.82, 42.34, 284.11°)
OKLaboklab(43.28% -0.0198 -0.1176)
OKLCHoklch(43.28% 0.119 260.4)
XYZxyz(8.6701, 7.9235, 27.8550)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E91 #916A27
analogous
#278391 #274E91 #352791
triadic
#274E91 #91274E #4E9127
tetradic
#274E91 #912783 #916A27 #279135
square
#274E91 #912783 #916A27 #279135
split-complementary
#274E91 #913527 #839127
monochromatic
#0D1A31 #1A3461 #274E91 #3468C1 #5F8AD4

Accessibility & contrast

On white

8.12
#274E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#274E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E91
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E91#FFFFFF#000000##FFFFFF
##274E911.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5594
Deuteranopia (green-blind)
#174B90
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274e91;
/* rgb */ color: rgb(39, 78, 145);
/* oklch */ color: oklch(43.3% 0.119 260.4);
Tailwind
colors: {
  custom: {
    50: '#6f7fb2',
    500: '#274e91',
    950: '#000000',
  },
}
SCSS
$custom: #274e91;
$custom-light: #6f7fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#274e91",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 217.925,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43277,
    "c": 0.11922,
    "h": 260.4
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#274E91
secondary
#B9965B
accent
#A847E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #274E91

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

Preview Lab → · Contrast checker → · Palette generator →

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