#274064#274064

#274064 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 36.9% C 0.070 H 257.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#274064
RGBrgb(39, 64, 100)
HSLhsl(215, 44%, 27%)
HSVhsv(215, 61%, 39%)
CMYKcmyk(61%, 36%, 0%, 60.8%)
CIE-LABlab(26.79, 2.55, -24.11)
CIE-LCHlch(26.79, 24.24, 276.03°)
OKLaboklab(36.94% -0.0151 -0.0681)
OKLCHoklch(36.94% 0.07 257.5)
XYZxyz(4.9695, 5.0178, 12.7608)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274064 #644B27
analogous
#275F64 #274064 #2D2764
triadic
#274064 #642740 #406427
tetradic
#274064 #64275F #644B27 #27642D
square
#274064 #64275F #644B27 #27642D
split-complementary
#274064 #642D27 #5F6427
monochromatic
#090E16 #162438 #274064 #385C90 #4C79B9

Accessibility & contrast

On white

10.48
#274064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#274064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274064
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274064#FFFFFF#000000##FFFFFF
##2740641.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314266
Deuteranopia (green-blind)
#293D63
Tritanopia (blue-blind)
#00484D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #274064;
/* rgb */ color: rgb(39, 64, 100);
/* oklch */ color: oklch(36.9% 0.070 257.5);
Tailwind
colors: {
  custom: {
    50: '#677490',
    500: '#274064',
    950: '#000000',
  },
}
SCSS
$custom: #274064;
$custom-light: #677490;
$custom-dark: #000000;
JSON
{
  "hex": "#274064",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 100
  },
  "hsl": {
    "h": 215.41,
    "s": 43.885,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36942,
    "c": 0.06974,
    "h": 257.5
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#274064
secondary
#977A50
accent
#9F54D4
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #274064

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

Preview Lab → · Contrast checker → · Palette generator →

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