#274085#274085

#274085 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.120 H 266.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#274085
RGBrgb(39, 64, 133)
HSLhsl(224, 55%, 34%)
HSVhsv(224, 71%, 52%)
CMYKcmyk(70.7%, 51.9%, 0%, 47.8%)
CIE-LABlab(28.88, 15.16, -41.63)
CIE-LCHlch(28.88, 44.30, 290.01°)
OKLaboklab(39.23% -0.0083 -0.1195)
OKLCHoklch(39.23% 0.12 266)
XYZxyz(6.9023, 5.7909, 22.9398)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274085 #856C27
analogous
#276F85 #274085 #3D2785
triadic
#274085 #852740 #408527
tetradic
#274085 #85276F #856C27 #27853D
square
#274085 #85276F #856C27 #27853D
split-complementary
#274085 #853D27 #6F8527
monochromatic
#0B1226 #192956 #274085 #3557B4 #5878CE

Accessibility & contrast

On white

9.73
#274085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#274085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274085
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274085#FFFFFF#000000##FFFFFF
##2740851.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184987
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #274085;
/* rgb */ color: rgb(39, 64, 133);
/* oklch */ color: oklch(39.2% 0.120 266.0);
Tailwind
colors: {
  custom: {
    50: '#6d74a9',
    500: '#274085',
    950: '#000000',
  },
}
SCSS
$custom: #274085;
$custom-light: #6d74a9;
$custom-dark: #000000;
JSON
{
  "hex": "#274085",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 224.043,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3923,
    "c": 0.11978,
    "h": 266
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#274085
secondary
#B39A55
accent
#B74ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #274085

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

Preview Lab → · Contrast checker → · Palette generator →

#274085 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva