#274682#274682

#274682 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.107 H 262.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#274682
RGBrgb(39, 70, 130)
HSLhsl(220, 54%, 33%)
HSVhsv(220, 70%, 51%)
CMYKcmyk(70%, 46.2%, 0%, 49%)
CIE-LABlab(30.45, 9.89, -37.23)
CIE-LCHlch(30.45, 38.53, 284.88°)
OKLaboklab(40.37% -0.0147 -0.1065)
OKLCHoklch(40.37% 0.107 262.1)
XYZxyz(7.0547, 6.4227, 21.9827)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274682 #826327
analogous
#277382 #274682 #352782
triadic
#274682 #822746 #468227
tetradic
#274682 #822773 #826327 #278235
square
#274682 #822773 #826327 #278235
split-complementary
#274682 #823527 #738227
monochromatic
#0B1324 #192D53 #274682 #355FB1 #577FCD

Accessibility & contrast

On white

9.19
#274682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#274682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274682
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274682#FFFFFF#000000##FFFFFF
##2746821.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C84
Deuteranopia (green-blind)
#184481
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #274682;
/* rgb */ color: rgb(39, 70, 130);
/* oklch */ color: oklch(40.4% 0.107 262.1);
Tailwind
colors: {
  custom: {
    50: '#6c79a7',
    500: '#274682',
    950: '#000000',
  },
}
SCSS
$custom: #274682;
$custom-light: #6c79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#274682",
  "rgb": {
    "r": 39,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 219.56,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40371,
    "c": 0.10747,
    "h": 262.1
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#274682
secondary
#B19153
accent
#AB4BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #274682

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

Preview Lab → · Contrast checker → · Palette generator →

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