#274B85#274B85

#274B85 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.7% C 0.106 H 259.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#274B85
RGBrgb(39, 75, 133)
HSLhsl(217, 55%, 34%)
HSVhsv(217, 71%, 52%)
CMYKcmyk(70.7%, 43.6%, 0%, 47.8%)
CIE-LABlab(32.16, 7.68, -36.37)
CIE-LCHlch(32.16, 37.17, 281.92°)
OKLaboklab(41.75% -0.0192 -0.1038)
OKLCHoklch(41.75% 0.106 259.5)
XYZxyz(7.5849, 7.1562, 23.1673)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B85 #856127
analogous
#277A85 #274B85 #322785
triadic
#274B85 #85274B #4B8527
tetradic
#274B85 #85277A #856127 #278532
square
#274B85 #85277A #856127 #278532
split-complementary
#274B85 #853227 #7A8527
monochromatic
#0B1626 #193056 #274B85 #3566B4 #5885CE

Accessibility & contrast

On white

8.64
#274B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#274B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B85
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B85#FFFFFF#000000##FFFFFF
##274B851.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305087
Deuteranopia (green-blind)
#204884
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274b85;
/* rgb */ color: rgb(39, 75, 133);
/* oklch */ color: oklch(41.7% 0.106 259.5);
Tailwind
colors: {
  custom: {
    50: '#6d7ca9',
    500: '#274b85',
    950: '#000000',
  },
}
SCSS
$custom: #274b85;
$custom-light: #6d7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#274b85",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 133
  },
  "hsl": {
    "h": 217.021,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41748,
    "c": 0.10558,
    "h": 259.5
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#274B85
secondary
#B38F55
accent
#A54ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #274B85

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

Preview Lab → · Contrast checker → · Palette generator →

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