#274A8B#274A8B

#274A8B is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.116 H 261.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#274A8B
RGBrgb(39, 74, 139)
HSLhsl(219, 56%, 35%)
HSVhsv(219, 72%, 55%)
CMYKcmyk(71.9%, 46.8%, 0%, 45.5%)
CIE-LABlab(32.24, 10.68, -39.93)
CIE-LCHlch(32.24, 41.33, 284.97°)
OKLaboklab(41.93% -0.017 -0.1143)
OKLCHoklch(41.93% 0.116 261.5)
XYZxyz(7.9440, 7.1921, 25.3907)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A8B #8B6827
analogous
#277C8B #274A8B #36278B
triadic
#274A8B #8B274A #4A8B27
tetradic
#274A8B #8B277C #8B6827 #278B36
square
#274A8B #8B277C #8B6827 #278B36
split-complementary
#274A8B #8B3627 #7C8B27
monochromatic
#0C172B #1A315B #274A8B #3463BB #5B85D1

Accessibility & contrast

On white

8.61
#274A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#274A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A8B
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A8B#FFFFFF#000000##FFFFFF
##274A8B1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29518D
Deuteranopia (green-blind)
#15488A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274a8b;
/* rgb */ color: rgb(39, 74, 139);
/* oklch */ color: oklch(41.9% 0.116 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e7cad',
    500: '#274a8b',
    950: '#000000',
  },
}
SCSS
$custom: #274a8b;
$custom-light: #6e7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#274a8b",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 219,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41933,
    "c": 0.11558,
    "h": 261.5
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#274A8B
secondary
#B69558
accent
#AB48DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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