#274188#274188

#274188 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.123 H 265.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#274188
RGBrgb(39, 65, 136)
HSLhsl(224, 55%, 34%)
HSVhsv(224, 71%, 53%)
CMYKcmyk(71.3%, 52.2%, 0%, 46.7%)
CIE-LABlab(29.38, 15.64, -42.67)
CIE-LCHlch(29.38, 45.45, 290.13°)
OKLaboklab(39.68% -0.0089 -0.1225)
OKLCHoklch(39.68% 0.123 265.9)
XYZxyz(7.1694, 5.9888, 24.0659)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274188 #886E27
analogous
#277288 #274188 #3E2788
triadic
#274188 #882741 #418827
tetradic
#274188 #882772 #886E27 #27883E
square
#274188 #882772 #886E27 #27883E
split-complementary
#274188 #883E27 #728827
monochromatic
#0C1429 #192A58 #274188 #3558B8 #5A79D0

Accessibility & contrast

On white

9.55
#274188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#274188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274188
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274188#FFFFFF#000000##FFFFFF
##2741881.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8B
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274188;
/* rgb */ color: rgb(39, 65, 136);
/* oklch */ color: oklch(39.7% 0.123 265.9);
Tailwind
colors: {
  custom: {
    50: '#6e75ab',
    500: '#274188',
    950: '#000000',
  },
}
SCSS
$custom: #274188;
$custom-light: #6e75ab;
$custom-dark: #000000;
JSON
{
  "hex": "#274188",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 136
  },
  "hsl": {
    "h": 223.918,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39683,
    "c": 0.12287,
    "h": 265.9
  },
  "luminance": 0.0599
}

Semantic roles & 50–950 ramp

primary
#274188
secondary
#B59B56
accent
#B749DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #274188

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

Preview Lab → · Contrast checker → · Palette generator →

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