#274B88#274B88

#274B88 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.110 H 260.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#274B88
RGBrgb(39, 75, 136)
HSLhsl(218, 55%, 34%)
HSVhsv(218, 71%, 53%)
CMYKcmyk(71.3%, 44.9%, 0%, 46.7%)
CIE-LABlab(32.35, 8.84, -37.91)
CIE-LCHlch(32.35, 38.93, 283.12°)
OKLaboklab(41.95% -0.0186 -0.1084)
OKLCHoklch(41.95% 0.11 260.3)
XYZxyz(7.7951, 7.2403, 24.2745)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B88 #886427
analogous
#277C88 #274B88 #342788
triadic
#274B88 #88274B #4B8827
tetradic
#274B88 #88277C #886427 #278834
square
#274B88 #88277C #886427 #278834
split-complementary
#274B88 #883427 #7C8827
monochromatic
#0C1729 #193158 #274B88 #3565B8 #5A86D0

Accessibility & contrast

On white

8.58
#274B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#274B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B88
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B88#FFFFFF#000000##FFFFFF
##274B881.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D518A
Deuteranopia (green-blind)
#1C4887
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274b88;
/* rgb */ color: rgb(39, 75, 136);
/* oklch */ color: oklch(42.0% 0.110 260.3);
Tailwind
colors: {
  custom: {
    50: '#6d7cab',
    500: '#274b88',
    950: '#000000',
  },
}
SCSS
$custom: #274b88;
$custom-light: #6d7cab;
$custom-dark: #000000;
JSON
{
  "hex": "#274b88",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 136
  },
  "hsl": {
    "h": 217.732,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41954,
    "c": 0.10995,
    "h": 260.3
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

primary
#274B88
secondary
#B59256
accent
#A749DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274B88

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

Preview Lab → · Contrast checker → · Palette generator →

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