#274A8E#274A8E

#274A8E is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.120 H 262.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#274A8E
RGBrgb(39, 74, 142)
HSLhsl(220, 57%, 35%)
HSVhsv(220, 73%, 56%)
CMYKcmyk(72.5%, 47.9%, 0%, 44.3%)
CIE-LABlab(32.44, 11.84, -41.45)
CIE-LCHlch(32.44, 43.11, 285.95°)
OKLaboklab(42.15% -0.0165 -0.1188)
OKLCHoklch(42.15% 0.12 262.1)
XYZxyz(8.1662, 7.2810, 26.5609)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A8E #8E6B27
analogous
#277D8E #274A8E #38278E
triadic
#274A8E #8E274A #4A8E27
tetradic
#274A8E #8E277D #8E6B27 #278E38
square
#274A8E #8E277D #8E6B27 #278E38
split-complementary
#274A8E #8E3827 #7D8E27
monochromatic
#0D182E #1A315E #274A8E #3463BE #5D85D2

Accessibility & contrast

On white

8.55
#274A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274A8E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A8E#FFFFFF#000000##FFFFFF
##274A8E1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274a8e;
/* rgb */ color: rgb(39, 74, 142);
/* oklch */ color: oklch(42.1% 0.120 262.1);
Tailwind
colors: {
  custom: {
    50: '#6f7caf',
    500: '#274a8e',
    950: '#000000',
  },
}
SCSS
$custom: #274a8e;
$custom-light: #6f7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#274a8e",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 219.612,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42149,
    "c": 0.11993,
    "h": 262.1
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#274A8E
secondary
#B89859
accent
#AC48E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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