#274E9F#274E9F

#274E9F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.139 H 262.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#274E9F
RGBrgb(39, 78, 159)
HSLhsl(221, 61%, 39%)
HSVhsv(221, 75%, 62%)
CMYKcmyk(75.5%, 50.9%, 0%, 37.6%)
CIE-LABlab(34.77, 15.77, -48.02)
CIE-LCHlch(34.77, 50.54, 288.18°)
OKLaboklab(44.3% -0.0176 -0.138)
OKLCHoklch(44.3% 0.139 262.7)
XYZxyz(9.8169, 8.3822, 33.8947)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E9F #9F7827
analogous
#278A9F #274E9F #3C279F
triadic
#274E9F #9F274E #4E9F27
tetradic
#274E9F #9F278A #9F7827 #279F3C
square
#274E9F #9F278A #9F7827 #279F3C
split-complementary
#274E9F #9F3C27 #8A9F27
monochromatic
#0F1E3D #1B366E #274E9F #3667CE #678CDA

Accessibility & contrast

On white

7.85
#274E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#274E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E9F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E9F#FFFFFF#000000##FFFFFF
##274E9F1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274e9f;
/* rgb */ color: rgb(39, 78, 159);
/* oklch */ color: oklch(44.3% 0.139 262.7);
Tailwind
colors: {
  custom: {
    50: '#727fbc',
    500: '#274e9f',
    950: '#000000',
  },
}
SCSS
$custom: #274e9f;
$custom-light: #727fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#274e9f",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 220.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44303,
    "c": 0.13915,
    "h": 262.7
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#274E9F
secondary
#C0A162
accent
#B044E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274E9F

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

Preview Lab → · Contrast checker → · Palette generator →

#274E9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva