#274B94#274B94

#274B94 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.127 H 262.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#274B94
RGBrgb(39, 75, 148)
HSLhsl(220, 58%, 37%)
HSVhsv(220, 74%, 58%)
CMYKcmyk(73.6%, 49.3%, 0%, 42%)
CIE-LABlab(33.14, 13.51, -43.99)
CIE-LCHlch(33.14, 46.02, 287.07°)
OKLaboklab(42.82% -0.0165 -0.1262)
OKLCHoklch(42.82% 0.127 262.6)
XYZxyz(8.6962, 7.6007, 29.0200)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B94 #947027
analogous
#278294 #274B94 #392794
triadic
#274B94 #94274B #4B9427
tetradic
#274B94 #942782 #947027 #279439
square
#274B94 #942782 #947027 #279439
split-complementary
#274B94 #943927 #829427
monochromatic
#0D1A33 #1A3264 #274B94 #3464C4 #6087D5

Accessibility & contrast

On white

8.33
#274B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#274B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B94
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B94#FFFFFF#000000##FFFFFF
##274B941.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235397
Deuteranopia (green-blind)
#024993
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274b94;
/* rgb */ color: rgb(39, 75, 148);
/* oklch */ color: oklch(42.8% 0.127 262.6);
Tailwind
colors: {
  custom: {
    50: '#707cb4',
    500: '#274b94',
    950: '#000000',
  },
}
SCSS
$custom: #274b94;
$custom-light: #707cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#274b94",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 148
  },
  "hsl": {
    "h": 220.183,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42815,
    "c": 0.12731,
    "h": 262.6
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#274B94
secondary
#BB9B5C
accent
#AE46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #274B94

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

Preview Lab → · Contrast checker → · Palette generator →

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