#274A85#274A85

#274A85 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.107 H 260.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#274A85
RGBrgb(39, 74, 133)
HSLhsl(218, 55%, 34%)
HSVhsv(218, 71%, 52%)
CMYKcmyk(70.7%, 44.4%, 0%, 47.8%)
CIE-LABlab(31.86, 8.35, -36.85)
CIE-LCHlch(31.86, 37.78, 282.77°)
OKLaboklab(41.51% -0.0182 -0.1053)
OKLCHoklch(41.51% 0.107 260.2)
XYZxyz(7.5176, 7.0216, 23.1449)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A85 #856227
analogous
#277985 #274A85 #332785
triadic
#274A85 #85274A #4A8527
tetradic
#274A85 #852779 #856227 #278533
square
#274A85 #852779 #856227 #278533
split-complementary
#274A85 #853327 #798527
monochromatic
#0B1526 #193056 #274A85 #3564B4 #5884CE

Accessibility & contrast

On white

8.73
#274A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#274A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A85
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A85#FFFFFF#000000##FFFFFF
##274A851.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5087
Deuteranopia (green-blind)
#1E4784
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274a85;
/* rgb */ color: rgb(39, 74, 133);
/* oklch */ color: oklch(41.5% 0.107 260.2);
Tailwind
colors: {
  custom: {
    50: '#6d7ca9',
    500: '#274a85',
    950: '#000000',
  },
}
SCSS
$custom: #274a85;
$custom-light: #6d7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#274a85",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 133
  },
  "hsl": {
    "h": 217.66,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41513,
    "c": 0.10683,
    "h": 260.2
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#274A85
secondary
#B39055
accent
#A74ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #274A85

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

Preview Lab → · Contrast checker → · Palette generator →

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