#274BAD#274BAD

#274BAD is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.162 H 265.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#274BAD
RGBrgb(39, 75, 173)
HSLhsl(224, 63%, 42%)
HSVhsv(224, 77%, 68%)
CMYKcmyk(77.5%, 56.6%, 0%, 32.2%)
CIE-LABlab(34.96, 23.20, -56.07)
CIE-LCHlch(34.96, 60.69, 292.48°)
OKLaboklab(44.78% -0.0139 -0.1618)
OKLCHoklch(44.78% 0.162 265.1)
XYZxyz(10.8929, 8.4794, 40.5897)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BAD #AD8927
analogous
#278EAD #274BAD #4627AD
triadic
#274BAD #AD274B #4BAD27
tetradic
#274BAD #AD278E #AD8927 #27AD46
square
#274BAD #AD278E #AD8927 #27AD46
split-complementary
#274BAD #AD4627 #8EAD27
monochromatic
#102049 #1C357B #274BAD #3E66D3 #708EDF

Accessibility & contrast

On white

7.79
#274BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#274BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274BAD
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BAD#FFFFFF#000000##FFFFFF
##274BAD1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274bad;
/* rgb */ color: rgb(39, 75, 173);
/* oklch */ color: oklch(44.8% 0.162 265.1);
Tailwind
colors: {
  custom: {
    50: '#767cc6',
    500: '#274bad',
    950: '#000000',
  },
}
SCSS
$custom: #274bad;
$custom-light: #767cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#274bad",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 223.881,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44779,
    "c": 0.16239,
    "h": 265.1
  },
  "luminance": 0.08481
}

Semantic roles & 50–950 ramp

primary
#274BAD
secondary
#C6AD6A
accent
#BA42E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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