#2C3B8A#2C3B8A

#2C3B8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.132 H 270.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2C3B8A
RGBrgb(44, 59, 138)
HSLhsl(230, 52%, 36%)
HSVhsv(230, 68%, 54%)
CMYKcmyk(68.1%, 57.2%, 0%, 45.9%)
CIE-LABlab(28.11, 21.33, -45.96)
CIE-LCHlch(28.11, 50.67, 294.89°)
OKLaboklab(38.84% 0.002 -0.1322)
OKLCHoklch(38.84% 0.132 270.9)
XYZxyz(7.1886, 5.4977, 24.7222)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3B8A #8A7B2C
analogous
#2C6A8A #2C3B8A #4C2C8A
triadic
#2C3B8A #8A2C3B #3B8A2C
tetradic
#2C3B8A #8A2C6A #8A7B2C #2C8A4C
square
#2C3B8A #8A2C6A #8A7B2C #2C8A4C
split-complementary
#2C3B8A #8A4C2C #6A8A2C
monochromatic
#0E132D #1D275C #2C3B8A #3B4FB8 #6374CD

Accessibility & contrast

On white

10.00
#2C3B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2C3B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3B8A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3B8A#FFFFFF#000000##FFFFFF
##2C3B8A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c3b8a;
/* rgb */ color: rgb(44, 59, 138);
/* oklch */ color: oklch(38.8% 0.132 270.9);
Tailwind
colors: {
  custom: {
    50: '#7170ad',
    500: '#2c3b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2c3b8a;
$custom-light: #7170ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3b8a",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 230.426,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38841,
    "c": 0.13222,
    "h": 270.9
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#2C3B8A
secondary
#B4A65E
accent
#C44DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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