#274D8F#274D8F

#274D8F is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.9% C 0.118 H 260.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#274D8F
RGBrgb(39, 77, 143)
HSLhsl(218, 57%, 36%)
HSVhsv(218, 73%, 56%)
CMYKcmyk(72.7%, 46.2%, 0%, 43.9%)
CIE-LABlab(33.40, 10.21, -40.53)
CIE-LCHlch(33.40, 41.79, 284.15°)
OKLaboklab(42.91% -0.0192 -0.116)
OKLCHoklch(42.91% 0.118 260.6)
XYZxyz(8.4467, 7.7214, 27.0265)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D8F #8F6927
analogous
#27818F #274D8F #35278F
triadic
#274D8F #8F274D #4D8F27
tetradic
#274D8F #8F2781 #8F6927 #278F35
square
#274D8F #8F2781 #8F6927 #278F35
split-complementary
#274D8F #8F3527 #818F27
monochromatic
#0D192F #1A335F #274D8F #3467BF #5D88D3

Accessibility & contrast

On white

8.25
#274D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#274D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D8F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D8F#FFFFFF#000000##FFFFFF
##274D8F1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5492
Deuteranopia (green-blind)
#174A8E
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274d8f;
/* rgb */ color: rgb(39, 77, 143);
/* oklch */ color: oklch(42.9% 0.118 260.6);
Tailwind
colors: {
  custom: {
    50: '#6f7eb0',
    500: '#274d8f',
    950: '#000000',
  },
}
SCSS
$custom: #274d8f;
$custom-light: #6f7eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#274d8f",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 218.077,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42907,
    "c": 0.1176,
    "h": 260.6
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#274D8F
secondary
#B8965A
accent
#A847E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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