#274D89#274D89

#274D89 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.109 H 259.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#274D89
RGBrgb(39, 77, 137)
HSLhsl(217, 56%, 35%)
HSVhsv(217, 72%, 54%)
CMYKcmyk(71.5%, 43.8%, 0%, 46.3%)
CIE-LABlab(33.02, 7.89, -37.46)
CIE-LCHlch(33.02, 38.28, 281.89°)
OKLaboklab(42.49% -0.0204 -0.107)
OKLCHoklch(42.49% 0.109 259.2)
XYZxyz(8.0043, 7.5444, 24.6964)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D89 #896327
analogous
#277E89 #274D89 #322789
triadic
#274D89 #89274D #4D8927
tetradic
#274D89 #89277E #896327 #278932
square
#274D89 #89277E #896327 #278932
split-complementary
#274D89 #893227 #7E8927
monochromatic
#0C172A #193259 #274D89 #3568B9 #5A88D0

Accessibility & contrast

On white

8.37
#274D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#274D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D89
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D89#FFFFFF#000000##FFFFFF
##274D891.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538B
Deuteranopia (green-blind)
#204988
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274d89;
/* rgb */ color: rgb(39, 77, 137);
/* oklch */ color: oklch(42.5% 0.109 259.2);
Tailwind
colors: {
  custom: {
    50: '#6e7eac',
    500: '#274d89',
    950: '#000000',
  },
}
SCSS
$custom: #274d89;
$custom-light: #6e7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#274d89",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 137
  },
  "hsl": {
    "h": 216.735,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4249,
    "c": 0.10894,
    "h": 259.2
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#274D89
secondary
#B59057
accent
#A549DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274D89

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

Preview Lab → · Contrast checker → · Palette generator →

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