#274B98#274B98

#274B98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.133 H 263.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#274B98
RGBrgb(39, 75, 152)
HSLhsl(221, 59%, 37%)
HSVhsv(221, 74%, 60%)
CMYKcmyk(74.3%, 50.7%, 0%, 40.4%)
CIE-LABlab(33.41, 15.06, -45.97)
CIE-LCHlch(33.41, 48.38, 288.14°)
OKLaboklab(43.11% -0.0159 -0.1321)
OKLCHoklch(43.11% 0.133 263.1)
XYZxyz(9.0183, 7.7295, 30.7163)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B98 #987427
analogous
#278398 #274B98 #3C2798
triadic
#274B98 #98274B #4B9827
tetradic
#274B98 #982783 #987427 #27983C
square
#274B98 #982783 #987427 #27983C
split-complementary
#274B98 #983C27 #839827
monochromatic
#0E1B37 #1B3367 #274B98 #3363C9 #6388D7

Accessibility & contrast

On white

8.25
#274B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#274B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B98
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B98#FFFFFF#000000##FFFFFF
##274B981.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274b98;
/* rgb */ color: rgb(39, 75, 152);
/* oklch */ color: oklch(43.1% 0.133 263.1);
Tailwind
colors: {
  custom: {
    50: '#717cb7',
    500: '#274b98',
    950: '#000000',
  },
}
SCSS
$custom: #274b98;
$custom-light: #717cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#274b98",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 220.885,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.13304,
    "h": 263.1
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#274B98
secondary
#BC9E5E
accent
#B045E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274B98

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

Preview Lab → · Contrast checker → · Palette generator →

#274B98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva