#274E8E#274E8E

#274E8E is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.1% C 0.115 H 259.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#274E8E
RGBrgb(39, 78, 142)
HSLhsl(217, 57%, 35%)
HSVhsv(217, 73%, 56%)
CMYKcmyk(72.5%, 45.1%, 0%, 44.3%)
CIE-LABlab(33.63, 9.16, -39.54)
CIE-LCHlch(33.63, 40.59, 283.04°)
OKLaboklab(43.07% -0.0203 -0.1131)
OKLCHoklch(43.07% 0.115 259.8)
XYZxyz(8.4418, 7.8322, 26.6528)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E8E #8E6727
analogous
#27818E #274E8E #34278E
triadic
#274E8E #8E274E #4E8E27
tetradic
#274E8E #8E2781 #8E6727 #278E34
square
#274E8E #8E2781 #8E6727 #278E34
split-complementary
#274E8E #8E3427 #818E27
monochromatic
#0D192E #1A345E #274E8E #3468BE #5D89D2

Accessibility & contrast

On white

8.18
#274E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#274E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E8E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E8E#FFFFFF#000000##FFFFFF
##274E8E1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#1C4B8D
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274e8e;
/* rgb */ color: rgb(39, 78, 142);
/* oklch */ color: oklch(43.1% 0.115 259.8);
Tailwind
colors: {
  custom: {
    50: '#6f7faf',
    500: '#274e8e',
    950: '#000000',
  },
}
SCSS
$custom: #274e8e;
$custom-light: #6f7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#274e8e",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 217.282,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.11492,
    "h": 259.8
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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