#274E9D#274E9D

#274E9D is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.136 H 262.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#274E9D
RGBrgb(39, 78, 157)
HSLhsl(220, 60%, 38%)
HSVhsv(220, 75%, 62%)
CMYKcmyk(75.2%, 50.3%, 0%, 38.4%)
CIE-LABlab(34.63, 14.99, -47.04)
CIE-LCHlch(34.63, 49.37, 287.68°)
OKLaboklab(44.15% -0.0178 -0.1352)
OKLCHoklch(44.15% 0.136 262.5)
XYZxyz(9.6447, 8.3134, 32.9881)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E9D #9D7627
analogous
#27899D #274E9D #3B279D
triadic
#274E9D #9D274E #4E9D27
tetradic
#274E9D #9D2789 #9D7627 #279D3B
square
#274E9D #9D2789 #9D7627 #279D3B
split-complementary
#274E9D #9D3B27 #899D27
monochromatic
#0F1D3B #1B366C #274E9D #3567CD #668CD9

Accessibility & contrast

On white

7.89
#274E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#274E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E9D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E9D#FFFFFF#000000##FFFFFF
##274E9D1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2057A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274e9d;
/* rgb */ color: rgb(39, 78, 157);
/* oklch */ color: oklch(44.2% 0.136 262.5);
Tailwind
colors: {
  custom: {
    50: '#727fba',
    500: '#274e9d',
    950: '#000000',
  },
}
SCSS
$custom: #274e9d;
$custom-light: #727fba;
$custom-dark: #000000;
JSON
{
  "hex": "#274e9d",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 220.169,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44152,
    "c": 0.13633,
    "h": 262.5
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#274E9D
secondary
#BFA061
accent
#AF44E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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