#274E9C#274E9C

#274E9C is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.135 H 262.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#274E9C
RGBrgb(39, 78, 156)
HSLhsl(220, 60%, 38%)
HSVhsv(220, 75%, 61%)
CMYKcmyk(75%, 50%, 0%, 38.8%)
CIE-LABlab(34.56, 14.60, -46.55)
CIE-LCHlch(34.56, 48.78, 287.42°)
OKLaboklab(44.08% -0.018 -0.1337)
OKLCHoklch(44.08% 0.135 262.3)
XYZxyz(9.5597, 8.2794, 32.5403)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E9C #9C7527
analogous
#27889C #274E9C #3A279C
triadic
#274E9C #9C274E #4E9C27
tetradic
#274E9C #9C2788 #9C7527 #279C3A
square
#274E9C #9C2788 #9C7527 #279C3A
split-complementary
#274E9C #9C3A27 #889C27
monochromatic
#0F1D3A #1B366B #274E9C #3467CC #658BD8

Accessibility & contrast

On white

7.91
#274E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274E9C
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E9C#FFFFFF#000000##FFFFFF
##274E9C1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21579F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274e9c;
/* rgb */ color: rgb(39, 78, 156);
/* oklch */ color: oklch(44.1% 0.135 262.3);
Tailwind
colors: {
  custom: {
    50: '#727fba',
    500: '#274e9c',
    950: '#000000',
  },
}
SCSS
$custom: #274e9c;
$custom-light: #727fba;
$custom-dark: #000000;
JSON
{
  "hex": "#274e9c",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 220,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.13491,
    "h": 262.3
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#274E9C
secondary
#BE9F61
accent
#AE45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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