#2C4182#2C4182

#2C4182 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.112 H 267.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2C4182
RGBrgb(44, 65, 130)
HSLhsl(225, 49%, 34%)
HSVhsv(225, 66%, 51%)
CMYKcmyk(66.2%, 50%, 0%, 49%)
CIE-LABlab(29.23, 14.20, -39.19)
CIE-LCHlch(29.23, 41.68, 289.92°)
OKLaboklab(39.5% -0.0047 -0.1122)
OKLCHoklch(39.5% 0.112 267.6)
XYZxyz(6.9569, 5.9271, 21.8922)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4182 #826D2C
analogous
#2C6C82 #2C4182 #422C82
triadic
#2C4182 #822C41 #41822C
tetradic
#2C4182 #822C6C #826D2C #2C8242
square
#2C4182 #822C6C #826D2C #2C8242
split-complementary
#2C4182 #82422C #6C822C
monochromatic
#0D1327 #1D2A54 #2C4182 #3B58B0 #5F79C9

Accessibility & contrast

On white

9.61
#2C4182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2C4182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4182
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4182#FFFFFF#000000##FFFFFF
##2C41821.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4984
Deuteranopia (green-blind)
#0D4181
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4182;
/* rgb */ color: rgb(44, 65, 130);
/* oklch */ color: oklch(39.5% 0.112 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f75a7',
    500: '#2c4182',
    950: '#000000',
  },
}
SCSS
$custom: #2c4182;
$custom-light: #6f75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4182",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 225.349,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39502,
    "c": 0.11228,
    "h": 267.6
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#2C4182
secondary
#AF9B5B
accent
#B74FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C4182

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

Preview Lab → · Contrast checker → · Palette generator →

#2C4182 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva