#2C3C8B#2C3C8B

#2C3C8B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.132 H 270.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2C3C8B
RGBrgb(44, 60, 139)
HSLhsl(230, 52%, 36%)
HSVhsv(230, 68%, 55%)
CMYKcmyk(68.3%, 56.8%, 0%, 45.5%)
CIE-LABlab(28.46, 21.02, -46.01)
CIE-LCHlch(28.46, 50.59, 294.56°)
OKLaboklab(39.13% 0.0011 -0.1323)
OKLCHoklch(39.13% 0.132 270.5)
XYZxyz(7.3132, 5.6306, 25.1225)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C8B #8B7B2C
analogous
#2C6B8B #2C3C8B #4B2C8B
triadic
#2C3C8B #8B2C3C #3C8B2C
tetradic
#2C3C8B #8B2C6B #8B7B2C #2C8B4B
square
#2C3C8B #8B2C6B #8B7B2C #2C8B4B
split-complementary
#2C3C8B #8B4B2C #6B8B2C
monochromatic
#0F142E #1D285D #2C3C8B #3B50B9 #6475CE

Accessibility & contrast

On white

9.88
#2C3C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C3C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C8B
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C8B#FFFFFF#000000##FFFFFF
##2C3C8B1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3c8b;
/* rgb */ color: rgb(44, 60, 139);
/* oklch */ color: oklch(39.1% 0.132 270.5);
Tailwind
colors: {
  custom: {
    50: '#7171ad',
    500: '#2c3c8b',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c8b;
$custom-light: #7171ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c8b",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 229.895,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.13233,
    "h": 270.5
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#2C3C8B
secondary
#B4A65F
accent
#C34CDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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