#274187#274187

#274187 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.121 H 265.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#274187
RGBrgb(39, 65, 135)
HSLhsl(224, 55%, 34%)
HSVhsv(224, 71%, 53%)
CMYKcmyk(71.1%, 51.9%, 0%, 47.1%)
CIE-LABlab(29.31, 15.25, -42.17)
CIE-LCHlch(29.31, 44.84, 289.88°)
OKLaboklab(39.61% -0.009 -0.1211)
OKLCHoklch(39.61% 0.121 265.8)
XYZxyz(7.0986, 5.9605, 23.6934)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274187 #876D27
analogous
#277187 #274187 #3D2787
triadic
#274187 #872741 #418727
tetradic
#274187 #872771 #876D27 #27873D
square
#274187 #872771 #876D27 #27873D
split-complementary
#274187 #873D27 #718727
monochromatic
#0C1328 #192A58 #274187 #3558B6 #5979CF

Accessibility & contrast

On white

9.58
#274187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#274187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274187
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274187#FFFFFF#000000##FFFFFF
##2741871.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274187;
/* rgb */ color: rgb(39, 65, 135);
/* oklch */ color: oklch(39.6% 0.121 265.8);
Tailwind
colors: {
  custom: {
    50: '#6e75aa',
    500: '#274187',
    950: '#000000',
  },
}
SCSS
$custom: #274187;
$custom-light: #6e75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#274187",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 223.75,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39606,
    "c": 0.1214,
    "h": 265.8
  },
  "luminance": 0.05961
}

Semantic roles & 50–950 ramp

primary
#274187
secondary
#B49B56
accent
#B649DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #274187

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

Preview Lab → · Contrast checker → · Palette generator →

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