#274B89#274B89

#274B89 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.111 H 260.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#274B89
RGBrgb(39, 75, 137)
HSLhsl(218, 56%, 35%)
HSVhsv(218, 72%, 54%)
CMYKcmyk(71.5%, 45.3%, 0%, 46.3%)
CIE-LABlab(32.41, 9.23, -38.43)
CIE-LCHlch(32.41, 39.52, 283.50°)
OKLaboklab(42.02% -0.0184 -0.1099)
OKLCHoklch(42.02% 0.111 260.5)
XYZxyz(7.8665, 7.2688, 24.6505)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B89 #896527
analogous
#277C89 #274B89 #342789
triadic
#274B89 #89274B #4B8927
tetradic
#274B89 #89277C #896527 #278934
square
#274B89 #89277C #896527 #278934
split-complementary
#274B89 #893427 #7C8927
monochromatic
#0C172A #193159 #274B89 #3565B9 #5A86D0

Accessibility & contrast

On white

8.56
#274B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#274B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B89
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B89#FFFFFF#000000##FFFFFF
##274B891.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D518B
Deuteranopia (green-blind)
#1B4888
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274b89;
/* rgb */ color: rgb(39, 75, 137);
/* oklch */ color: oklch(42.0% 0.111 260.5);
Tailwind
colors: {
  custom: {
    50: '#6e7cac',
    500: '#274b89',
    950: '#000000',
  },
}
SCSS
$custom: #274b89;
$custom-light: #6e7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#274b89",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 137
  },
  "hsl": {
    "h": 217.959,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42023,
    "c": 0.11141,
    "h": 260.5
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274B89

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

Preview Lab → · Contrast checker → · Palette generator →

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