#274F9F#274F9F

#274F9F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.138 H 262.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#274F9F
RGBrgb(39, 79, 159)
HSLhsl(220, 61%, 39%)
HSVhsv(220, 75%, 62%)
CMYKcmyk(75.5%, 50.3%, 0%, 37.6%)
CIE-LABlab(35.05, 15.10, -47.55)
CIE-LCHlch(35.05, 49.89, 287.62°)
OKLaboklab(44.52% -0.0184 -0.1367)
OKLCHoklch(44.52% 0.138 262.3)
XYZxyz(9.8885, 8.5254, 33.9186)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F9F #9F7727
analogous
#278B9F #274F9F #3B279F
triadic
#274F9F #9F274F #4F9F27
tetradic
#274F9F #9F278B #9F7727 #279F3B
square
#274F9F #9F278B #9F7727 #279F3B
split-complementary
#274F9F #9F3B27 #8B9F27
monochromatic
#0F1E3D #1B376E #274F9F #3668CE #678DDA

Accessibility & contrast

On white

7.76
#274F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#274F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F9F
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F9F#FFFFFF#000000##FFFFFF
##274F9F1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274f9f;
/* rgb */ color: rgb(39, 79, 159);
/* oklch */ color: oklch(44.5% 0.138 262.3);
Tailwind
colors: {
  custom: {
    50: '#727fbc',
    500: '#274f9f',
    950: '#000000',
  },
}
SCSS
$custom: #274f9f;
$custom-light: #727fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#274f9f",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 220,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44523,
    "c": 0.1379,
    "h": 262.3
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#274F9F
secondary
#C0A062
accent
#AF44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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