#274B86#274B86

#274B86 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.107 H 259.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#274B86
RGBrgb(39, 75, 134)
HSLhsl(217, 55%, 34%)
HSVhsv(217, 71%, 53%)
CMYKcmyk(70.9%, 44%, 0%, 47.5%)
CIE-LABlab(32.22, 8.07, -36.88)
CIE-LCHlch(32.22, 37.75, 282.34°)
OKLaboklab(41.82% -0.019 -0.1053)
OKLCHoklch(41.82% 0.107 259.8)
XYZxyz(7.6543, 7.1839, 23.5329)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B86 #866227
analogous
#277B86 #274B86 #332786
triadic
#274B86 #86274B #4B8627
tetradic
#274B86 #86277B #866227 #278633
square
#274B86 #86277B #866227 #278633
split-complementary
#274B86 #863327 #7B8627
monochromatic
#0B1627 #193057 #274B86 #3566B5 #5985CF

Accessibility & contrast

On white

8.62
#274B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274B86
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B86#FFFFFF#000000##FFFFFF
##274B861.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5188
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274b86;
/* rgb */ color: rgb(39, 75, 134);
/* oklch */ color: oklch(41.8% 0.107 259.8);
Tailwind
colors: {
  custom: {
    50: '#6d7ca9',
    500: '#274b86',
    950: '#000000',
  },
}
SCSS
$custom: #274b86;
$custom-light: #6d7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#274b86",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 134
  },
  "hsl": {
    "h": 217.263,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.10704,
    "h": 259.8
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#274B86
secondary
#B49055
accent
#A64ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #274B86

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

Preview Lab → · Contrast checker → · Palette generator →

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