#2C4288#2C4288

#2C4288 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.120 H 267.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2C4288
RGBrgb(44, 66, 136)
HSLhsl(226, 51%, 35%)
HSVhsv(226, 68%, 53%)
CMYKcmyk(67.6%, 51.5%, 0%, 46.7%)
CIE-LABlab(29.93, 15.79, -41.78)
CIE-LCHlch(29.93, 44.66, 290.71°)
OKLaboklab(40.17% -0.005 -0.1198)
OKLCHoklch(40.17% 0.12 267.6)
XYZxyz(7.4293, 6.2088, 24.0947)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4288 #88722C
analogous
#2C7088 #2C4288 #442C88
triadic
#2C4288 #882C42 #42882C
tetradic
#2C4288 #882C70 #88722C #2C8844
square
#2C4288 #882C70 #88722C #2C8844
split-complementary
#2C4288 #88442C #70882C
monochromatic
#0E152C #1D2C5A #2C4288 #3B58B6 #627CCC

Accessibility & contrast

On white

9.37
#2C4288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C4288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4288
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4288#FFFFFF#000000##FFFFFF
##2C42881.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8B
Deuteranopia (green-blind)
#004387
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4288;
/* rgb */ color: rgb(44, 66, 136);
/* oklch */ color: oklch(40.2% 0.120 267.6);
Tailwind
colors: {
  custom: {
    50: '#7076ab',
    500: '#2c4288',
    950: '#000000',
  },
}
SCSS
$custom: #2c4288;
$custom-light: #7076ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4288",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 225.652,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40171,
    "c": 0.11988,
    "h": 267.6
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#2C4288
secondary
#B39E5D
accent
#B94DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4288

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

Preview Lab → · Contrast checker → · Palette generator →

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