#274E8F#274E8F

#274E8F is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.116 H 260.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#274E8F
RGBrgb(39, 78, 143)
HSLhsl(218, 57%, 36%)
HSVhsv(218, 73%, 56%)
CMYKcmyk(72.7%, 45.5%, 0%, 43.9%)
CIE-LABlab(33.69, 9.55, -40.05)
CIE-LCHlch(33.69, 41.17, 283.41°)
OKLaboklab(43.14% -0.0201 -0.1146)
OKLCHoklch(43.14% 0.116 260)
XYZxyz(8.5172, 7.8624, 27.0500)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E8F #8F6827
analogous
#27828F #274E8F #34278F
triadic
#274E8F #8F274E #4E8F27
tetradic
#274E8F #8F2782 #8F6827 #278F34
square
#274E8F #8F2782 #8F6827 #278F34
split-complementary
#274E8F #8F3427 #828F27
monochromatic
#0D1A2F #1A345F #274E8F #3468BF #5D8AD3

Accessibility & contrast

On white

8.16
#274E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274E8F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E8F#FFFFFF#000000##FFFFFF
##274E8F1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274e8f;
/* rgb */ color: rgb(39, 78, 143);
/* oklch */ color: oklch(43.1% 0.116 260.0);
Tailwind
colors: {
  custom: {
    50: '#6f7fb0',
    500: '#274e8f',
    950: '#000000',
  },
}
SCSS
$custom: #274e8f;
$custom-light: #6f7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#274e8f",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 217.5,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43137,
    "c": 0.11635,
    "h": 260
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#274E8F
secondary
#B8955A
accent
#A747E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #274E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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