#274097#274097

#274097 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.146 H 267.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#274097
RGBrgb(39, 64, 151)
HSLhsl(227, 59%, 37%)
HSVhsv(227, 74%, 59%)
CMYKcmyk(74.2%, 57.6%, 0%, 40.8%)
CIE-LABlab(30.23, 22.13, -50.51)
CIE-LCHlch(30.23, 55.15, 293.66°)
OKLaboklab(40.68% -0.0068 -0.1456)
OKLCHoklch(40.68% 0.146 267.3)
XYZxyz(8.2541, 6.3316, 30.0593)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274097 #977E27
analogous
#277897 #274097 #462797
triadic
#274097 #972740 #409727
tetradic
#274097 #972778 #977E27 #279746
square
#274097 #972778 #977E27 #279746
split-complementary
#274097 #974627 #789727
monochromatic
#0E1736 #1A2B66 #274097 #3455C8 #627CD6

Accessibility & contrast

On white

9.27
#274097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#274097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274097
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274097#FFFFFF#000000##FFFFFF
##2740971.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #274097;
/* rgb */ color: rgb(39, 64, 151);
/* oklch */ color: oklch(40.7% 0.146 267.3);
Tailwind
colors: {
  custom: {
    50: '#7174b6',
    500: '#274097',
    950: '#000000',
  },
}
SCSS
$custom: #274097;
$custom-light: #7174b6;
$custom-dark: #000000;
JSON
{
  "hex": "#274097",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 226.607,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.14578,
    "h": 267.3
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#274097
secondary
#BCA75E
accent
#BF46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274097

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

Preview Lab → · Contrast checker → · Palette generator →

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