#274B81#274B81

#274B81 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.100 H 258.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#274B81
RGBrgb(39, 75, 129)
HSLhsl(216, 54%, 33%)
HSVhsv(216, 70%, 51%)
CMYKcmyk(69.8%, 41.9%, 0%, 49.4%)
CIE-LABlab(31.92, 6.14, -34.28)
CIE-LCHlch(31.92, 34.83, 280.15°)
OKLaboklab(41.48% -0.0201 -0.0977)
OKLCHoklch(41.48% 0.1 258.4)
XYZxyz(7.3138, 7.0477, 21.7395)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B81 #815D27
analogous
#277881 #274B81 #302781
triadic
#274B81 #81274B #4B8127
tetradic
#274B81 #812778 #815D27 #278130
square
#274B81 #812778 #815D27 #278130
split-complementary
#274B81 #813027 #788127
monochromatic
#0B1423 #193052 #274B81 #3566B0 #5685CC

Accessibility & contrast

On white

8.72
#274B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#274B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B81
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B81#FFFFFF#000000##FFFFFF
##274B811.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325083
Deuteranopia (green-blind)
#244780
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274b81;
/* rgb */ color: rgb(39, 75, 129);
/* oklch */ color: oklch(41.5% 0.100 258.4);
Tailwind
colors: {
  custom: {
    50: '#6c7ca6',
    500: '#274b81',
    950: '#000000',
  },
}
SCSS
$custom: #274b81;
$custom-light: #6c7ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#274b81",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 129
  },
  "hsl": {
    "h": 216,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41479,
    "c": 0.09976,
    "h": 258.4
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#274B81
secondary
#B18B53
accent
#A34BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #274B81

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

Preview Lab → · Contrast checker → · Palette generator →

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