#274697#274697

#274697 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.138 H 265.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#274697
RGBrgb(39, 70, 151)
HSLhsl(223, 59%, 37%)
HSVhsv(223, 74%, 59%)
CMYKcmyk(74.2%, 53.6%, 0%, 40.8%)
CIE-LABlab(31.91, 18.06, -47.80)
CIE-LCHlch(31.91, 51.09, 290.70°)
OKLaboklab(41.95% -0.0117 -0.1375)
OKLCHoklch(41.95% 0.138 265.1)
XYZxyz(8.6108, 7.0451, 30.1782)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274697 #977827
analogous
#277E97 #274697 #402797
triadic
#274697 #972746 #469727
tetradic
#274697 #97277E #977827 #279740
square
#274697 #97277E #977827 #279740
split-complementary
#274697 #974027 #7E9727
monochromatic
#0E1936 #1A2F66 #274697 #345DC8 #6282D6

Accessibility & contrast

On white

8.72
#274697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#274697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274697
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274697#FFFFFF#000000##FFFFFF
##2746971.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D509A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274697;
/* rgb */ color: rgb(39, 70, 151);
/* oklch */ color: oklch(41.9% 0.138 265.1);
Tailwind
colors: {
  custom: {
    50: '#7178b6',
    500: '#274697',
    950: '#000000',
  },
}
SCSS
$custom: #274697;
$custom-light: #7178b6;
$custom-dark: #000000;
JSON
{
  "hex": "#274697",
  "rgb": {
    "r": 39,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 223.393,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41947,
    "c": 0.13804,
    "h": 265.1
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#274697
secondary
#BCA25E
accent
#B746E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274697

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

Preview Lab → · Contrast checker → · Palette generator →

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