#274387#274387

#274387 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.119 H 264.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#274387
RGBrgb(39, 67, 135)
HSLhsl(223, 55%, 34%)
HSVhsv(223, 71%, 53%)
CMYKcmyk(71.1%, 50.4%, 0%, 47.1%)
CIE-LABlab(29.90, 13.88, -41.23)
CIE-LCHlch(29.90, 43.50, 288.61°)
OKLaboklab(40.05% -0.0109 -0.1183)
OKLCHoklch(40.05% 0.119 264.7)
XYZxyz(7.2155, 6.1942, 23.7323)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274387 #876B27
analogous
#277387 #274387 #3B2787
triadic
#274387 #872743 #438727
tetradic
#274387 #872773 #876B27 #27873B
square
#274387 #872773 #876B27 #27873B
split-complementary
#274387 #873B27 #738727
monochromatic
#0C1428 #192B58 #274387 #355BB6 #597CCF

Accessibility & contrast

On white

9.38
#274387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#274387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274387
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274387#FFFFFF#000000##FFFFFF
##2743871.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B89
Deuteranopia (green-blind)
#024286
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274387;
/* rgb */ color: rgb(39, 67, 135);
/* oklch */ color: oklch(40.1% 0.119 264.7);
Tailwind
colors: {
  custom: {
    50: '#6e76aa',
    500: '#274387',
    950: '#000000',
  },
}
SCSS
$custom: #274387;
$custom-light: #6e76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#274387",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 222.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40051,
    "c": 0.11876,
    "h": 264.7
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#274387
secondary
#B49956
accent
#B349DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #274387

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

Preview Lab → · Contrast checker → · Palette generator →

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