#274B87#274B87

#274B87 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.108 H 260.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#274B87
RGBrgb(39, 75, 135)
HSLhsl(218, 55%, 34%)
HSVhsv(218, 71%, 53%)
CMYKcmyk(71.1%, 44.4%, 0%, 47.1%)
CIE-LABlab(32.28, 8.45, -37.40)
CIE-LCHlch(32.28, 38.34, 282.74°)
OKLaboklab(41.89% -0.0188 -0.1069)
OKLCHoklch(41.89% 0.109 260)
XYZxyz(7.7244, 7.2120, 23.9019)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B87 #876327
analogous
#277B87 #274B87 #332787
triadic
#274B87 #87274B #4B8727
tetradic
#274B87 #87277B #876327 #278733
square
#274B87 #87277B #876327 #278733
split-complementary
#274B87 #873327 #7B8727
monochromatic
#0C1628 #193158 #274B87 #3565B6 #5985CF

Accessibility & contrast

On white

8.60
#274B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274B87
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B87#FFFFFF#000000##FFFFFF
##274B871.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274b87;
/* rgb */ color: rgb(39, 75, 135);
/* oklch */ color: oklch(41.9% 0.108 260.0);
Tailwind
colors: {
  custom: {
    50: '#6d7caa',
    500: '#274b87',
    950: '#000000',
  },
}
SCSS
$custom: #274b87;
$custom-light: #6d7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#274b87",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 217.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41885,
    "c": 0.1085,
    "h": 260
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#274B87
secondary
#B49156
accent
#A749DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #274B87

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

Preview Lab → · Contrast checker → · Palette generator →

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