#274895#274895

#274895 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.133 H 264.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#274895
RGBrgb(39, 72, 149)
HSLhsl(222, 59%, 37%)
HSVhsv(222, 74%, 58%)
CMYKcmyk(73.8%, 51.7%, 0%, 41.6%)
CIE-LABlab(32.34, 15.92, -45.89)
CIE-LCHlch(32.34, 48.57, 289.14°)
OKLaboklab(42.23% -0.0137 -0.1319)
OKLCHoklch(42.23% 0.133 264.1)
XYZxyz(8.5770, 7.2351, 29.3724)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274895 #957427
analogous
#277F95 #274895 #3D2795
triadic
#274895 #952748 #489527
tetradic
#274895 #95277F #957427 #27953D
square
#274895 #95277F #957427 #27953D
split-complementary
#274895 #953D27 #7F9527
monochromatic
#0E1934 #1A3164 #274895 #345FC6 #6184D6

Accessibility & contrast

On white

8.58
#274895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274895
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274895#FFFFFF#000000##FFFFFF
##2748951.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195198
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274895;
/* rgb */ color: rgb(39, 72, 149);
/* oklch */ color: oklch(42.2% 0.133 264.1);
Tailwind
colors: {
  custom: {
    50: '#707ab5',
    500: '#274895',
    950: '#000000',
  },
}
SCSS
$custom: #274895;
$custom-light: #707ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#274895",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 222,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42225,
    "c": 0.1326,
    "h": 264.1
  },
  "luminance": 0.07236
}

Semantic roles & 50–950 ramp

primary
#274895
secondary
#BB9F5D
accent
#B346E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274895

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

Preview Lab → · Contrast checker → · Palette generator →

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