#274F8D#274F8D

#274F8D is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.112 H 258.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#274F8D
RGBrgb(39, 79, 141)
HSLhsl(216, 57%, 35%)
HSVhsv(216, 72%, 55%)
CMYKcmyk(72.3%, 44%, 0%, 44.7%)
CIE-LABlab(33.87, 8.10, -38.55)
CIE-LCHlch(33.87, 39.39, 281.87°)
OKLaboklab(43.23% -0.0215 -0.1102)
OKLCHoklch(43.23% 0.112 258.9)
XYZxyz(8.4387, 7.9455, 26.2830)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F8D #8D6527
analogous
#27828D #274F8D #32278D
triadic
#274F8D #8D274F #4F8D27
tetradic
#274F8D #8D2782 #8D6527 #278D32
square
#274F8D #8D2782 #8D6527 #278D32
split-complementary
#274F8D #8D3227 #828D27
monochromatic
#0C192D #1A345D #274F8D #346ABD #5C8BD2

Accessibility & contrast

On white

8.11
#274F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#274F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F8D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F8D#FFFFFF#000000##FFFFFF
##274F8D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31558F
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274f8d;
/* rgb */ color: rgb(39, 79, 141);
/* oklch */ color: oklch(43.2% 0.112 258.9);
Tailwind
colors: {
  custom: {
    50: '#6e7faf',
    500: '#274f8d',
    950: '#000000',
  },
}
SCSS
$custom: #274f8d;
$custom-light: #6e7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#274f8d",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 216.471,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43231,
    "c": 0.11225,
    "h": 258.9
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#274F8D
secondary
#B79259
accent
#A448E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #274F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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