#274892#274892

#274892 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.128 H 263.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#274892
RGBrgb(39, 72, 146)
HSLhsl(221, 58%, 36%)
HSVhsv(221, 73%, 57%)
CMYKcmyk(73.3%, 50.7%, 0%, 42.7%)
CIE-LABlab(32.12, 14.75, -44.40)
CIE-LCHlch(32.12, 46.79, 288.38°)
OKLaboklab(42% -0.014 -0.1275)
OKLCHoklch(42% 0.128 263.7)
XYZxyz(8.3405, 7.1405, 28.1272)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274892 #927127
analogous
#277E92 #274892 #3C2792
triadic
#274892 #922748 #489227
tetradic
#274892 #92277E #927127 #27923C
square
#274892 #92277E #927127 #27923C
split-complementary
#274892 #923C27 #7E9227
monochromatic
#0D1831 #1A3062 #274892 #3460C2 #5F83D4

Accessibility & contrast

On white

8.65
#274892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#274892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274892
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274892#FFFFFF#000000##FFFFFF
##2748921.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5195
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274892;
/* rgb */ color: rgb(39, 72, 146);
/* oklch */ color: oklch(42.0% 0.128 263.7);
Tailwind
colors: {
  custom: {
    50: '#707ab2',
    500: '#274892',
    950: '#000000',
  },
}
SCSS
$custom: #274892;
$custom-light: #707ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#274892",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 146
  },
  "hsl": {
    "h": 221.495,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41997,
    "c": 0.12828,
    "h": 263.7
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#274892
secondary
#BA9C5B
accent
#B147E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #274892

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

Preview Lab → · Contrast checker → · Palette generator →

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