#274A8F#274A8F

#274A8F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.121 H 262.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#274A8F
RGBrgb(39, 74, 143)
HSLhsl(220, 57%, 36%)
HSVhsv(220, 73%, 56%)
CMYKcmyk(72.7%, 48.3%, 0%, 43.9%)
CIE-LABlab(32.51, 12.23, -41.96)
CIE-LCHlch(32.51, 43.70, 286.25°)
OKLaboklab(42.22% -0.0163 -0.1203)
OKLCHoklch(42.22% 0.121 262.3)
XYZxyz(8.2416, 7.3112, 26.9581)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A8F #8F6C27
analogous
#277E8F #274A8F #38278F
triadic
#274A8F #8F274A #4A8F27
tetradic
#274A8F #8F277E #8F6C27 #278F38
square
#274A8F #8F277E #8F6C27 #278F38
split-complementary
#274A8F #8F3827 #7E8F27
monochromatic
#0D182F #1A315F #274A8F #3463BF #5D85D3

Accessibility & contrast

On white

8.53
#274A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#274A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A8F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A8F#FFFFFF#000000##FFFFFF
##274A8F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255292
Deuteranopia (green-blind)
#0C488E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274a8f;
/* rgb */ color: rgb(39, 74, 143);
/* oklch */ color: oklch(42.2% 0.121 262.3);
Tailwind
colors: {
  custom: {
    50: '#6f7cb0',
    500: '#274a8f',
    950: '#000000',
  },
}
SCSS
$custom: #274a8f;
$custom-light: #6f7cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#274a8f",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 219.808,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42222,
    "c": 0.12138,
    "h": 262.3
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#274A8F
secondary
#B8985A
accent
#AD47E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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