#274D9B#274D9B

#274D9B is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.135 H 262.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#274D9B
RGBrgb(39, 77, 155)
HSLhsl(220, 60%, 38%)
HSVhsv(220, 75%, 61%)
CMYKcmyk(74.8%, 50.3%, 0%, 39.2%)
CIE-LABlab(34.20, 14.89, -46.52)
CIE-LCHlch(34.20, 48.84, 287.74°)
OKLaboklab(43.78% -0.0173 -0.1337)
OKLCHoklch(43.78% 0.135 262.6)
XYZxyz(9.4049, 8.1046, 32.0727)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D9B #9B7527
analogous
#27879B #274D9B #3B279B
triadic
#274D9B #9B274D #4D9B27
tetradic
#274D9B #9B2787 #9B7527 #279B3B
square
#274D9B #9B2787 #9B7527 #279B3B
split-complementary
#274D9B #9B3B27 #879B27
monochromatic
#0E1C39 #1B356A #274D9B #3365CC #648AD8

Accessibility & contrast

On white

8.01
#274D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#274D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D9B
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D9B#FFFFFF#000000##FFFFFF
##274D9B1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F569E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274d9b;
/* rgb */ color: rgb(39, 77, 155);
/* oklch */ color: oklch(43.8% 0.135 262.6);
Tailwind
colors: {
  custom: {
    50: '#727eb9',
    500: '#274d9b',
    950: '#000000',
  },
}
SCSS
$custom: #274d9b;
$custom-light: #727eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#274d9b",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 155
  },
  "hsl": {
    "h": 220.345,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43782,
    "c": 0.13477,
    "h": 262.6
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#274D9B
secondary
#BE9F60
accent
#AF45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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