#2C3C8A#2C3C8A

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

Color values

HEX#2C3C8A
RGBrgb(44, 60, 138)
HSLhsl(230, 52%, 36%)
HSVhsv(230, 68%, 54%)
CMYKcmyk(68.1%, 56.5%, 0%, 45.9%)
CIE-LABlab(28.38, 20.65, -45.52)
CIE-LCHlch(28.38, 49.98, 294.40°)
OKLaboklab(39.05% 0.001 -0.1309)
OKLCHoklch(39.05% 0.131 270.5)
XYZxyz(7.2405, 5.6015, 24.7395)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C8A #8A7A2C
analogous
#2C6B8A #2C3C8A #4B2C8A
triadic
#2C3C8A #8A2C3C #3C8A2C
tetradic
#2C3C8A #8A2C6B #8A7A2C #2C8A4B
square
#2C3C8A #8A2C6B #8A7A2C #2C8A4B
split-complementary
#2C3C8A #8A4B2C #6B8A2C
monochromatic
#0E142D #1D285C #2C3C8A #3B50B8 #6375CD

Accessibility & contrast

On white

9.90
#2C3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C8A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C8A#FFFFFF#000000##FFFFFF
##2C3C8A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3c8a;
/* rgb */ color: rgb(44, 60, 138);
/* oklch */ color: oklch(39.0% 0.131 270.5);
Tailwind
colors: {
  custom: {
    50: '#7171ad',
    500: '#2c3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c8a;
$custom-light: #7171ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c8a",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 229.787,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.13088,
    "h": 270.5
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#2C3C8A
secondary
#B4A55E
accent
#C34DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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