#274C94#274C94

#274C94 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.126 H 262.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#274C94
RGBrgb(39, 76, 148)
HSLhsl(220, 58%, 37%)
HSVhsv(220, 74%, 58%)
CMYKcmyk(73.6%, 48.6%, 0%, 42%)
CIE-LABlab(33.43, 12.83, -43.52)
CIE-LCHlch(33.43, 45.37, 286.43°)
OKLaboklab(43.04% -0.0174 -0.1248)
OKLCHoklch(43.04% 0.126 262.1)
XYZxyz(8.7645, 7.7374, 29.0428)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C94 #946F27
analogous
#278394 #274C94 #392794
triadic
#274C94 #94274C #4C9427
tetradic
#274C94 #942783 #946F27 #279439
square
#274C94 #942783 #946F27 #279439
split-complementary
#274C94 #943927 #839427
monochromatic
#0D1A33 #1A3364 #274C94 #3465C4 #6088D5

Accessibility & contrast

On white

8.24
#274C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#274C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C94
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C94#FFFFFF#000000##FFFFFF
##274C941.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255497
Deuteranopia (green-blind)
#074A93
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274c94;
/* rgb */ color: rgb(39, 76, 148);
/* oklch */ color: oklch(43.0% 0.126 262.1);
Tailwind
colors: {
  custom: {
    50: '#707db4',
    500: '#274c94',
    950: '#000000',
  },
}
SCSS
$custom: #274c94;
$custom-light: #707db4;
$custom-dark: #000000;
JSON
{
  "hex": "#274c94",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 148
  },
  "hsl": {
    "h": 219.633,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43039,
    "c": 0.12605,
    "h": 262.1
  },
  "luminance": 0.07738
}

Semantic roles & 50–950 ramp

primary
#274C94
secondary
#BB9B5C
accent
#AD46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #274C94

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

Preview Lab → · Contrast checker → · Palette generator →

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