#274F81#274F81

#274F81 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.095 H 255.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#274F81
RGBrgb(39, 79, 129)
HSLhsl(213, 54%, 33%)
HSVhsv(213, 70%, 51%)
CMYKcmyk(69.8%, 38.8%, 0%, 49.4%)
CIE-LABlab(33.15, 3.49, -32.32)
CIE-LCHlch(33.15, 32.50, 276.16°)
OKLaboklab(42.44% -0.0244 -0.0919)
OKLCHoklch(42.44% 0.095 255.1)
XYZxyz(7.5937, 7.6075, 21.8328)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F81 #815927
analogous
#277C81 #274F81 #2C2781
triadic
#274F81 #81274F #4F8127
tetradic
#274F81 #81277C #815927 #27812C
square
#274F81 #81277C #815927 #27812C
split-complementary
#274F81 #812C27 #7C8127
monochromatic
#0B1523 #193252 #274F81 #356CB0 #568BCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274F81#FFFFFF#000000##FFFFFF
##274F811.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)
#395383
Deuteranopia (green-blind)
#2C4A80
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274f81;
/* rgb */ color: rgb(39, 79, 129);
/* oklch */ color: oklch(42.4% 0.095 255.1);
Tailwind
colors: {
  custom: {
    50: '#6c80a6',
    500: '#274f81',
    950: '#000000',
  },
}
SCSS
$custom: #274f81;
$custom-light: #6c80a6;
$custom-dark: #000000;
JSON
{
  "hex": "#274f81",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 129
  },
  "hsl": {
    "h": 213.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42441,
    "c": 0.09507,
    "h": 255.1
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#274F81
secondary
#B18753
accent
#9C4BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #274F81

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

Preview Lab → · Contrast checker → · Palette generator →

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