#274B8B#274B8B

#274B8B is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.2% C 0.114 H 260.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#274B8B
RGBrgb(39, 75, 139)
HSLhsl(218, 56%, 35%)
HSVhsv(218, 72%, 55%)
CMYKcmyk(71.9%, 46%, 0%, 45.5%)
CIE-LABlab(32.54, 10.00, -39.45)
CIE-LCHlch(32.54, 40.70, 284.23°)
OKLaboklab(42.16% -0.018 -0.1129)
OKLCHoklch(42.16% 0.114 260.9)
XYZxyz(8.0113, 7.3267, 25.4131)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B8B #8B6727
analogous
#277D8B #274B8B #35278B
triadic
#274B8B #8B274B #4B8B27
tetradic
#274B8B #8B277D #8B6727 #278B35
square
#274B8B #8B277D #8B6727 #278B35
split-complementary
#274B8B #8B3527 #7D8B27
monochromatic
#0C172B #1A315B #274B8B #3465BB #5B86D1

Accessibility & contrast

On white

8.52
#274B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#274B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B8B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B8B#FFFFFF#000000##FFFFFF
##274B8B1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#18488A
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274b8b;
/* rgb */ color: rgb(39, 75, 139);
/* oklch */ color: oklch(42.2% 0.114 260.9);
Tailwind
colors: {
  custom: {
    50: '#6e7cad',
    500: '#274b8b',
    950: '#000000',
  },
}
SCSS
$custom: #274b8b;
$custom-light: #6e7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#274b8b",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 139
  },
  "hsl": {
    "h": 218.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42164,
    "c": 0.11432,
    "h": 260.9
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#274B8B
secondary
#B69458
accent
#A948DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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