#274889#274889

#274889 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.115 H 262.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#274889
RGBrgb(39, 72, 137)
HSLhsl(220, 56%, 35%)
HSVhsv(220, 72%, 54%)
CMYKcmyk(71.5%, 47.4%, 0%, 46.3%)
CIE-LABlab(31.51, 11.25, -39.87)
CIE-LCHlch(31.51, 41.43, 285.76°)
OKLaboklab(41.33% -0.0154 -0.1142)
OKLCHoklch(41.33% 0.115 262.3)
XYZxyz(7.6678, 6.8714, 24.5843)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274889 #896827
analogous
#277989 #274889 #372789
triadic
#274889 #892748 #488927
tetradic
#274889 #892779 #896827 #278937
square
#274889 #892779 #896827 #278937
split-complementary
#274889 #893727 #798927
monochromatic
#0C162A #192F59 #274889 #3561B9 #5A82D0

Accessibility & contrast

On white

8.84
#274889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#274889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274889
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274889#FFFFFF#000000##FFFFFF
##2748891.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8B
Deuteranopia (green-blind)
#124688
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274889;
/* rgb */ color: rgb(39, 72, 137);
/* oklch */ color: oklch(41.3% 0.115 262.3);
Tailwind
colors: {
  custom: {
    50: '#6e7aac',
    500: '#274889',
    950: '#000000',
  },
}
SCSS
$custom: #274889;
$custom-light: #6e7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#274889",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 219.796,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41332,
    "c": 0.11521,
    "h": 262.3
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#274889
secondary
#B59557
accent
#AC49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274889

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

Preview Lab → · Contrast checker → · Palette generator →

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