#274989#274989

#274989 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.114 H 261.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#274989
RGBrgb(39, 73, 137)
HSLhsl(219, 56%, 35%)
HSVhsv(219, 72%, 54%)
CMYKcmyk(71.5%, 46.7%, 0%, 46.3%)
CIE-LABlab(31.81, 10.58, -39.39)
CIE-LCHlch(31.81, 40.78, 285.03°)
OKLaboklab(41.56% -0.0164 -0.1127)
OKLCHoklch(41.56% 0.114 261.7)
XYZxyz(7.7330, 7.0018, 24.6060)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274989 #896727
analogous
#277A89 #274989 #362789
triadic
#274989 #892749 #498927
tetradic
#274989 #89277A #896727 #278936
square
#274989 #89277A #896727 #278936
split-complementary
#274989 #893627 #7A8927
monochromatic
#0C162A #193059 #274989 #3562B9 #5A83D0

Accessibility & contrast

On white

8.75
#274989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#274989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274989
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274989#FFFFFF#000000##FFFFFF
##2749891.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508B
Deuteranopia (green-blind)
#164788
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274989;
/* rgb */ color: rgb(39, 73, 137);
/* oklch */ color: oklch(41.6% 0.114 261.7);
Tailwind
colors: {
  custom: {
    50: '#6e7bac',
    500: '#274989',
    950: '#000000',
  },
}
SCSS
$custom: #274989;
$custom-light: #6e7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#274989",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 219.184,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41561,
    "c": 0.11393,
    "h": 261.7
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#274989
secondary
#B59457
accent
#AB49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274989

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

Preview Lab → · Contrast checker → · Palette generator →

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