#274789#274789

#274789 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.116 H 262.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#274789
RGBrgb(39, 71, 137)
HSLhsl(220, 56%, 35%)
HSVhsv(220, 72%, 54%)
CMYKcmyk(71.5%, 48.2%, 0%, 46.3%)
CIE-LABlab(31.21, 11.93, -40.35)
CIE-LCHlch(31.21, 42.07, 286.47°)
OKLaboklab(41.1% -0.0145 -0.1156)
OKLCHoklch(41.1% 0.116 262.9)
XYZxyz(7.6037, 6.7432, 24.5629)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274789 #896927
analogous
#277889 #274789 #382789
triadic
#274789 #892747 #478927
tetradic
#274789 #892778 #896927 #278938
square
#274789 #892778 #896927 #278938
split-complementary
#274789 #893827 #788927
monochromatic
#0C162A #192E59 #274789 #3560B9 #5A81D0

Accessibility & contrast

On white

8.94
#274789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#274789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274789
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274789#FFFFFF#000000##FFFFFF
##2747891.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8B
Deuteranopia (green-blind)
#0F4588
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #274789;
/* rgb */ color: rgb(39, 71, 137);
/* oklch */ color: oklch(41.1% 0.116 262.9);
Tailwind
colors: {
  custom: {
    50: '#6e79ac',
    500: '#274789',
    950: '#000000',
  },
}
SCSS
$custom: #274789;
$custom-light: #6e79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#274789",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 220.408,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41103,
    "c": 0.11649,
    "h": 262.9
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#274789
secondary
#B59657
accent
#AE49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274789

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

Preview Lab → · Contrast checker → · Palette generator →

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