#274896#274896

#274896 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.134 H 264.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#274896
RGBrgb(39, 72, 150)
HSLhsl(222, 59%, 37%)
HSVhsv(222, 74%, 59%)
CMYKcmyk(74%, 52%, 0%, 41.2%)
CIE-LABlab(32.41, 16.31, -46.38)
CIE-LCHlch(32.41, 49.17, 289.38°)
OKLaboklab(42.3% -0.0135 -0.1333)
OKLCHoklch(42.3% 0.134 264.2)
XYZxyz(8.6571, 7.2671, 29.7947)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274896 #967527
analogous
#278096 #274896 #3E2796
triadic
#274896 #962748 #489627
tetradic
#274896 #962780 #967527 #27963E
square
#274896 #962780 #967527 #27963E
split-complementary
#274896 #963E27 #809627
monochromatic
#0E1935 #1A3165 #274896 #345FC7 #6184D6

Accessibility & contrast

On white

8.56
#274896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#274896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274896
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274896#FFFFFF#000000##FFFFFF
##2748961.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274896;
/* rgb */ color: rgb(39, 72, 150);
/* oklch */ color: oklch(42.3% 0.134 264.2);
Tailwind
colors: {
  custom: {
    50: '#717ab5',
    500: '#274896',
    950: '#000000',
  },
}
SCSS
$custom: #274896;
$custom-light: #717ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#274896",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 150
  },
  "hsl": {
    "h": 222.162,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42303,
    "c": 0.13403,
    "h": 264.2
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#274896
secondary
#BCA05D
accent
#B446E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274896

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

Preview Lab → · Contrast checker → · Palette generator →

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