#2C3C8F#2C3C8F

#2C3C8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.138 H 270.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2C3C8F
RGBrgb(44, 60, 143)
HSLhsl(230, 53%, 37%)
HSVhsv(230, 69%, 56%)
CMYKcmyk(69.2%, 58%, 0%, 43.9%)
CIE-LABlab(28.77, 22.53, -47.98)
CIE-LCHlch(28.77, 53.00, 295.15°)
OKLaboklab(39.46% 0.0013 -0.1381)
OKLCHoklch(39.46% 0.138 270.5)
XYZxyz(7.6108, 5.7496, 26.6900)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C8F #8F7F2C
analogous
#2C6E8F #2C3C8F #4E2C8F
triadic
#2C3C8F #8F2C3C #3C8F2C
tetradic
#2C3C8F #8F2C6E #8F7F2C #2C8F4E
square
#2C3C8F #8F2C6E #8F7F2C #2C8F4E
split-complementary
#2C3C8F #8F4E2C #6E8F2C
monochromatic
#0F1531 #1E2860 #2C3C8F #3A50BE #6677D0

Accessibility & contrast

On white

9.77
#2C3C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C3C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C8F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C8F#FFFFFF#000000##FFFFFF
##2C3C8F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3c8f;
/* rgb */ color: rgb(44, 60, 143);
/* oklch */ color: oklch(39.5% 0.138 270.5);
Tailwind
colors: {
  custom: {
    50: '#7271b0',
    500: '#2c3c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c8f;
$custom-light: #7271b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c8f",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 230.303,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39461,
    "c": 0.13812,
    "h": 270.5
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#2C3C8F
secondary
#B6A861
accent
#C54BDC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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