#2C4183#2C4183

#2C4183 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.114 H 267.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2C4183
RGBrgb(44, 65, 131)
HSLhsl(226, 50%, 34%)
HSVhsv(226, 66%, 51%)
CMYKcmyk(66.4%, 50.4%, 0%, 48.6%)
CIE-LABlab(29.30, 14.58, -39.70)
CIE-LCHlch(29.30, 42.29, 290.17°)
OKLaboklab(39.58% -0.0046 -0.1137)
OKLCHoklch(39.58% 0.114 267.7)
XYZxyz(7.0243, 5.9541, 22.2474)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4183 #836E2C
analogous
#2C6D83 #2C4183 #432C83
triadic
#2C4183 #832C41 #41832C
tetradic
#2C4183 #832C6D #836E2C #2C8343
square
#2C4183 #832C6D #836E2C #2C8343
split-complementary
#2C4183 #83432C #6D832C
monochromatic
#0D1427 #1D2A55 #2C4183 #3B58B1 #6079CA

Accessibility & contrast

On white

9.58
#2C4183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4183
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4183#FFFFFF#000000##FFFFFF
##2C41831.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4183;
/* rgb */ color: rgb(44, 65, 131);
/* oklch */ color: oklch(39.6% 0.114 267.7);
Tailwind
colors: {
  custom: {
    50: '#6f75a7',
    500: '#2c4183',
    950: '#000000',
  },
}
SCSS
$custom: #2c4183;
$custom-light: #6f75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4183",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 225.517,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39576,
    "c": 0.11378,
    "h": 267.7
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#2C4183
secondary
#B09B5B
accent
#B84FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C4183

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

Preview Lab → · Contrast checker → · Palette generator →

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