#274998#274998

#274998 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.136 H 264.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#274998
RGBrgb(39, 73, 152)
HSLhsl(222, 59%, 37%)
HSVhsv(222, 74%, 60%)
CMYKcmyk(74.3%, 52%, 0%, 40.4%)
CIE-LABlab(32.84, 16.41, -46.90)
CIE-LCHlch(32.84, 49.69, 289.29°)
OKLaboklab(42.68% -0.0142 -0.1349)
OKLCHoklch(42.68% 0.136 264)
XYZxyz(8.8847, 7.4625, 30.6718)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274998 #987627
analogous
#278198 #274998 #3E2798
triadic
#274998 #982749 #499827
tetradic
#274998 #982781 #987627 #27983E
square
#274998 #982781 #987627 #27983E
split-complementary
#274998 #983E27 #819827
monochromatic
#0E1A37 #1B3267 #274998 #3360C9 #6386D7

Accessibility & contrast

On white

8.42
#274998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#274998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274998
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274998#FFFFFF#000000##FFFFFF
##2749981.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274998;
/* rgb */ color: rgb(39, 73, 152);
/* oklch */ color: oklch(42.7% 0.136 264.0);
Tailwind
colors: {
  custom: {
    50: '#717bb7',
    500: '#274998',
    950: '#000000',
  },
}
SCSS
$custom: #274998;
$custom-light: #717bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#274998",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 221.947,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42675,
    "c": 0.1356,
    "h": 264
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#274998
secondary
#BCA05E
accent
#B345E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274998

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

Preview Lab → · Contrast checker → · Palette generator →

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