#274B8A#274B8A

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

Color values

HEX#274B8A
RGBrgb(39, 75, 138)
HSLhsl(218, 56%, 35%)
HSVhsv(218, 72%, 54%)
CMYKcmyk(71.7%, 45.7%, 0%, 45.9%)
CIE-LABlab(32.48, 9.62, -38.94)
CIE-LCHlch(32.48, 40.11, 283.87°)
OKLaboklab(42.09% -0.0182 -0.1114)
OKLCHoklch(42.09% 0.113 260.7)
XYZxyz(7.9386, 7.2976, 25.0300)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B8A #8A6627
analogous
#277C8A #274B8A #35278A
triadic
#274B8A #8A274B #4B8A27
tetradic
#274B8A #8A277C #8A6627 #278A35
square
#274B8A #8A277C #8A6627 #278A35
split-complementary
#274B8A #8A3527 #7C8A27
monochromatic
#0C172B #1A315A #274B8A #3465BA #5B86D1

Accessibility & contrast

On white

8.54
#274B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274B8A
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B8A#FFFFFF#000000##FFFFFF
##274B8A1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518C
Deuteranopia (green-blind)
#1A4889
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274b8a;
/* rgb */ color: rgb(39, 75, 138);
/* oklch */ color: oklch(42.1% 0.113 260.7);
Tailwind
colors: {
  custom: {
    50: '#6e7cac',
    500: '#274b8a',
    950: '#000000',
  },
}
SCSS
$custom: #274b8a;
$custom-light: #6e7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#274b8a",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 218.182,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.11287,
    "h": 260.7
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#274B8A
secondary
#B69357
accent
#A849DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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