#274B95#274B95

#274B95 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.129 H 262.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#274B95
RGBrgb(39, 75, 149)
HSLhsl(220, 59%, 37%)
HSVhsv(220, 74%, 58%)
CMYKcmyk(73.8%, 49.7%, 0%, 41.6%)
CIE-LABlab(33.21, 13.89, -44.49)
CIE-LCHlch(33.21, 46.61, 287.35°)
OKLaboklab(42.89% -0.0163 -0.1277)
OKLCHoklch(42.89% 0.129 262.7)
XYZxyz(8.7757, 7.6325, 29.4387)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B95 #957127
analogous
#278295 #274B95 #3A2795
triadic
#274B95 #95274B #4B9527
tetradic
#274B95 #952782 #957127 #27953A
square
#274B95 #952782 #957127 #27953A
split-complementary
#274B95 #953A27 #829527
monochromatic
#0E1A34 #1A3364 #274B95 #3463C6 #6187D6

Accessibility & contrast

On white

8.31
#274B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#274B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B95
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B95#FFFFFF#000000##FFFFFF
##274B951.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215398
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274b95;
/* rgb */ color: rgb(39, 75, 149);
/* oklch */ color: oklch(42.9% 0.129 262.7);
Tailwind
colors: {
  custom: {
    50: '#707cb5',
    500: '#274b95',
    950: '#000000',
  },
}
SCSS
$custom: #274b95;
$custom-light: #707cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#274b95",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 220.364,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42889,
    "c": 0.12875,
    "h": 262.7
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#274B95
secondary
#BB9C5D
accent
#AF46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274B95

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

Preview Lab → · Contrast checker → · Palette generator →

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