#274688#274688

#274688 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.116 H 263.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#274688
RGBrgb(39, 70, 136)
HSLhsl(221, 55%, 34%)
HSVhsv(221, 71%, 53%)
CMYKcmyk(71.3%, 48.5%, 0%, 46.7%)
CIE-LABlab(30.85, 12.22, -40.31)
CIE-LCHlch(30.85, 42.12, 286.86°)
OKLaboklab(40.8% -0.0136 -0.1155)
OKLCHoklch(40.8% 0.116 263.3)
XYZxyz(7.4692, 6.5885, 24.1658)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274688 #886927
analogous
#277788 #274688 #392788
triadic
#274688 #882746 #468827
tetradic
#274688 #882777 #886927 #278839
square
#274688 #882777 #886927 #278839
split-complementary
#274688 #883927 #778827
monochromatic
#0C1529 #192E58 #274688 #355EB8 #5A7FD0

Accessibility & contrast

On white

9.06
#274688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#274688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274688
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274688#FFFFFF#000000##FFFFFF
##2746881.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8A
Deuteranopia (green-blind)
#0D4487
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #274688;
/* rgb */ color: rgb(39, 70, 136);
/* oklch */ color: oklch(40.8% 0.116 263.3);
Tailwind
colors: {
  custom: {
    50: '#6e79ab',
    500: '#274688',
    950: '#000000',
  },
}
SCSS
$custom: #274688;
$custom-light: #6e79ab;
$custom-dark: #000000;
JSON
{
  "hex": "#274688",
  "rgb": {
    "r": 39,
    "g": 70,
    "b": 136
  },
  "hsl": {
    "h": 220.825,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40803,
    "c": 0.11631,
    "h": 263.3
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#274688
secondary
#B59656
accent
#AF49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274688

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

Preview Lab → · Contrast checker → · Palette generator →

#274688 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva