#275181#275181

#275181 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.093 H 253.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#275181
RGBrgb(39, 81, 129)
HSLhsl(212, 54%, 33%)
HSVhsv(212, 70%, 51%)
CMYKcmyk(69.8%, 37.2%, 0%, 49.4%)
CIE-LABlab(33.77, 2.18, -31.33)
CIE-LCHlch(33.77, 31.41, 273.98°)
OKLaboklab(42.93% -0.0265 -0.089)
OKLCHoklch(42.93% 0.093 253.4)
XYZxyz(7.7401, 7.9004, 21.8816)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275181 #815727
analogous
#277E81 #275181 #2A2781
triadic
#275181 #812751 #518127
tetradic
#275181 #81277E #815727 #27812A
square
#275181 #81277E #815727 #27812A
split-complementary
#275181 #812A27 #7E8127
monochromatic
#0B1623 #193352 #275181 #356FB0 #568DCC

Accessibility & contrast

On white

8.14
#275181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#275181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275181
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275181#FFFFFF#000000##FFFFFF
##2751811.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5483
Deuteranopia (green-blind)
#2F4C80
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #275181;
/* rgb */ color: rgb(39, 81, 129);
/* oklch */ color: oklch(42.9% 0.093 253.4);
Tailwind
colors: {
  custom: {
    50: '#6c81a6',
    500: '#275181',
    950: '#000000',
  },
}
SCSS
$custom: #275181;
$custom-light: #6c81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#275181",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 212,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42927,
    "c": 0.09285,
    "h": 253.4
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#275181
secondary
#B18553
accent
#994BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #275181

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

Preview Lab → · Contrast checker → · Palette generator →

#275181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva