#274297#274297

#274297 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.143 H 266.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#274297
RGBrgb(39, 66, 151)
HSLhsl(226, 59%, 37%)
HSVhsv(226, 74%, 59%)
CMYKcmyk(74.2%, 56.3%, 0%, 40.8%)
CIE-LABlab(30.79, 20.77, -49.62)
CIE-LCHlch(30.79, 53.79, 292.72°)
OKLaboklab(41.1% -0.0084 -0.143)
OKLCHoklch(41.1% 0.143 266.6)
XYZxyz(8.3689, 6.5612, 30.0975)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274297 #977C27
analogous
#277A97 #274297 #442797
triadic
#274297 #972742 #429727
tetradic
#274297 #97277A #977C27 #279744
square
#274297 #97277A #977C27 #279744
split-complementary
#274297 #974427 #7A9727
monochromatic
#0E1736 #1A2D66 #274297 #3457C8 #627ED6

Accessibility & contrast

On white

9.08
#274297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#274297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274297
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274297#FFFFFF#000000##FFFFFF
##2742971.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #274297;
/* rgb */ color: rgb(39, 66, 151);
/* oklch */ color: oklch(41.1% 0.143 266.6);
Tailwind
colors: {
  custom: {
    50: '#7175b6',
    500: '#274297',
    950: '#000000',
  },
}
SCSS
$custom: #274297;
$custom-light: #7175b6;
$custom-dark: #000000;
JSON
{
  "hex": "#274297",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 225.536,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41099,
    "c": 0.14321,
    "h": 266.6
  },
  "luminance": 0.06562
}

Semantic roles & 50–950 ramp

primary
#274297
secondary
#BCA55E
accent
#BC46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274297

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

Preview Lab → · Contrast checker → · Palette generator →

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