#274E8D#274E8D

#274E8D is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.113 H 259.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#274E8D
RGBrgb(39, 78, 141)
HSLhsl(217, 57%, 35%)
HSVhsv(217, 72%, 55%)
CMYKcmyk(72.3%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.57, 8.77, -39.03)
CIE-LCHlch(33.57, 40.00, 282.66°)
OKLaboklab(43% -0.0205 -0.1116)
OKLCHoklch(43% 0.113 259.6)
XYZxyz(8.3671, 7.8023, 26.2592)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E8D #8D6627
analogous
#27818D #274E8D #33278D
triadic
#274E8D #8D274E #4E8D27
tetradic
#274E8D #8D2781 #8D6627 #278D33
square
#274E8D #8D2781 #8D6627 #278D33
split-complementary
#274E8D #8D3327 #818D27
monochromatic
#0C192D #1A335D #274E8D #3469BD #5C89D2

Accessibility & contrast

On white

8.20
#274E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274E8D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E8D#FFFFFF#000000##FFFFFF
##274E8D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F548F
Deuteranopia (green-blind)
#1D4B8C
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274e8d;
/* rgb */ color: rgb(39, 78, 141);
/* oklch */ color: oklch(43.0% 0.113 259.6);
Tailwind
colors: {
  custom: {
    50: '#6e7faf',
    500: '#274e8d',
    950: '#000000',
  },
}
SCSS
$custom: #274e8d;
$custom-light: #6e7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#274e8d",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 217.059,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42998,
    "c": 0.11348,
    "h": 259.6
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#274E8D
secondary
#B79359
accent
#A648E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #274E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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