#274B8F#274B8F

#274B8F is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.120 H 261.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#274B8F
RGBrgb(39, 75, 143)
HSLhsl(219, 57%, 36%)
HSVhsv(219, 73%, 56%)
CMYKcmyk(72.7%, 47.6%, 0%, 43.9%)
CIE-LABlab(32.80, 11.56, -41.48)
CIE-LCHlch(32.80, 43.06, 285.57°)
OKLaboklab(42.45% -0.0173 -0.1189)
OKLCHoklch(42.45% 0.12 261.7)
XYZxyz(8.3089, 7.4458, 26.9806)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B8F #8F6B27
analogous
#277F8F #274B8F #37278F
triadic
#274B8F #8F274B #4B8F27
tetradic
#274B8F #8F277F #8F6B27 #278F37
square
#274B8F #8F277F #8F6B27 #278F37
split-complementary
#274B8F #8F3727 #7F8F27
monochromatic
#0D192F #1A325F #274B8F #3464BF #5D86D3

Accessibility & contrast

On white

8.44
#274B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#274B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B8F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B8F#FFFFFF#000000##FFFFFF
##274B8F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#10498E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274b8f;
/* rgb */ color: rgb(39, 75, 143);
/* oklch */ color: oklch(42.4% 0.120 261.7);
Tailwind
colors: {
  custom: {
    50: '#6f7cb0',
    500: '#274b8f',
    950: '#000000',
  },
}
SCSS
$custom: #274b8f;
$custom-light: #6f7cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#274b8f",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 143
  },
  "hsl": {
    "h": 219.231,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.12011,
    "h": 261.7
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#274B8F
secondary
#B8975A
accent
#AB47E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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