#274C8E#274C8E

#274C8E is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.117 H 261.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#274C8E
RGBrgb(39, 76, 142)
HSLhsl(218, 57%, 35%)
HSVhsv(218, 73%, 56%)
CMYKcmyk(72.5%, 46.5%, 0%, 44.3%)
CIE-LABlab(33.03, 10.50, -40.50)
CIE-LCHlch(33.03, 41.84, 284.53°)
OKLaboklab(42.61% -0.0184 -0.1159)
OKLCHoklch(42.61% 0.117 261)
XYZxyz(8.3019, 7.5523, 26.6062)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C8E #8E6927
analogous
#277F8E #274C8E #36278E
triadic
#274C8E #8E274C #4C8E27
tetradic
#274C8E #8E277F #8E6927 #278E36
square
#274C8E #8E277F #8E6927 #278E36
split-complementary
#274C8E #8E3627 #7F8E27
monochromatic
#0D192E #1A325E #274C8E #3466BE #5D87D2

Accessibility & contrast

On white

8.36
#274C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#274C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C8E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C8E#FFFFFF#000000##FFFFFF
##274C8E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#16498D
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274c8e;
/* rgb */ color: rgb(39, 76, 142);
/* oklch */ color: oklch(42.6% 0.117 261.0);
Tailwind
colors: {
  custom: {
    50: '#6f7daf',
    500: '#274c8e',
    950: '#000000',
  },
}
SCSS
$custom: #274c8e;
$custom-light: #6f7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#274c8e",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 218.447,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42606,
    "c": 0.1174,
    "h": 261
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#274C8E
secondary
#B89659
accent
#A948E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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