#274E9B#274E9B

#274E9B is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.134 H 262.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#274E9B
RGBrgb(39, 78, 155)
HSLhsl(220, 60%, 38%)
HSVhsv(220, 75%, 61%)
CMYKcmyk(74.8%, 49.7%, 0%, 39.2%)
CIE-LABlab(34.49, 14.21, -46.05)
CIE-LCHlch(34.49, 48.20, 287.15°)
OKLaboklab(44% -0.0181 -0.1323)
OKLCHoklch(44% 0.134 262.2)
XYZxyz(9.4754, 8.2456, 32.0962)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E9B #9B7427
analogous
#27889B #274E9B #3A279B
triadic
#274E9B #9B274E #4E9B27
tetradic
#274E9B #9B2788 #9B7427 #279B3A
square
#274E9B #9B2788 #9B7427 #279B3A
split-complementary
#274E9B #9B3A27 #889B27
monochromatic
#0E1D39 #1B356A #274E9B #3367CC #648BD8

Accessibility & contrast

On white

7.93
#274E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#274E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E9B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E9B#FFFFFF#000000##FFFFFF
##274E9B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274e9b;
/* rgb */ color: rgb(39, 78, 155);
/* oklch */ color: oklch(44.0% 0.134 262.2);
Tailwind
colors: {
  custom: {
    50: '#727fb9',
    500: '#274e9b',
    950: '#000000',
  },
}
SCSS
$custom: #274e9b;
$custom-light: #727fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#274e9b",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 219.828,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44003,
    "c": 0.1335,
    "h": 262.2
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#274E9B
secondary
#BE9E60
accent
#AE45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #274E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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