#274587#274587

#274587 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.116 H 263.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#274587
RGBrgb(39, 69, 135)
HSLhsl(221, 55%, 34%)
HSVhsv(221, 71%, 53%)
CMYKcmyk(71.1%, 48.9%, 0%, 47.1%)
CIE-LABlab(30.49, 12.51, -40.28)
CIE-LCHlch(30.49, 42.18, 287.26°)
OKLaboklab(40.5% -0.0128 -0.1154)
OKLCHoklch(40.5% 0.116 263.7)
XYZxyz(7.3365, 6.4361, 23.7726)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274587 #876927
analogous
#277587 #274587 #392787
triadic
#274587 #872745 #458727
tetradic
#274587 #872775 #876927 #278739
square
#274587 #872775 #876927 #278739
split-complementary
#274587 #873927 #758727
monochromatic
#0C1428 #192D58 #274587 #355DB6 #597ECF

Accessibility & contrast

On white

9.18
#274587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#274587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274587
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274587#FFFFFF#000000##FFFFFF
##2745871.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#0B4486
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #274587;
/* rgb */ color: rgb(39, 69, 135);
/* oklch */ color: oklch(40.5% 0.116 263.7);
Tailwind
colors: {
  custom: {
    50: '#6d78aa',
    500: '#274587',
    950: '#000000',
  },
}
SCSS
$custom: #274587;
$custom-light: #6d78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#274587",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 221.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40502,
    "c": 0.11615,
    "h": 263.7
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#274587
secondary
#B49756
accent
#B049DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #274587

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

Preview Lab → · Contrast checker → · Palette generator →

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