#274487#274487

#274487 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.117 H 264.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#274487
RGBrgb(39, 68, 135)
HSLhsl(222, 55%, 34%)
HSVhsv(222, 71%, 53%)
CMYKcmyk(71.1%, 49.6%, 0%, 47.1%)
CIE-LABlab(30.19, 13.20, -40.76)
CIE-LCHlch(30.19, 42.84, 287.94°)
OKLaboklab(40.28% -0.0119 -0.1168)
OKLCHoklch(40.28% 0.117 264.2)
XYZxyz(7.2755, 6.3141, 23.7523)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274487 #876A27
analogous
#277487 #274487 #3A2787
triadic
#274487 #872744 #448727
tetradic
#274487 #872774 #876A27 #27873A
square
#274487 #872774 #876A27 #27873A
split-complementary
#274487 #873A27 #748727
monochromatic
#0C1428 #192C58 #274487 #355CB6 #597DCF

Accessibility & contrast

On white

9.28
#274487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#274487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274487
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274487#FFFFFF#000000##FFFFFF
##2744871.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C89
Deuteranopia (green-blind)
#064386
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #274487;
/* rgb */ color: rgb(39, 68, 135);
/* oklch */ color: oklch(40.3% 0.117 264.2);
Tailwind
colors: {
  custom: {
    50: '#6d77aa',
    500: '#274487',
    950: '#000000',
  },
}
SCSS
$custom: #274487;
$custom-light: #6d77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#274487",
  "rgb": {
    "r": 39,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 221.875,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40276,
    "c": 0.11745,
    "h": 264.2
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#274487
secondary
#B49856
accent
#B149DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #274487

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

Preview Lab → · Contrast checker → · Palette generator →

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