#2C3C8E#2C3C8E

#2C3C8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.137 H 270.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2C3C8E
RGBrgb(44, 60, 142)
HSLhsl(230, 53%, 36%)
HSVhsv(230, 69%, 56%)
CMYKcmyk(69%, 57.7%, 0%, 44.3%)
CIE-LABlab(28.69, 22.15, -47.49)
CIE-LCHlch(28.69, 52.40, 295.01°)
OKLaboklab(39.38% 0.0012 -0.1367)
OKLCHoklch(39.38% 0.137 270.5)
XYZxyz(7.5354, 5.7195, 26.2928)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C8E #8E7E2C
analogous
#2C6D8E #2C3C8E #4D2C8E
triadic
#2C3C8E #8E2C3C #3C8E2C
tetradic
#2C3C8E #8E2C6D #8E7E2C #2C8E4D
square
#2C3C8E #8E2C6D #8E7E2C #2C8E4D
split-complementary
#2C3C8E #8E4D2C #6D8E2C
monochromatic
#0F1531 #1E285F #2C3C8E #3A50BD #6576CF

Accessibility & contrast

On white

9.79
#2C3C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C3C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C8E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C8E#FFFFFF#000000##FFFFFF
##2C3C8E1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3c8e;
/* rgb */ color: rgb(44, 60, 142);
/* oklch */ color: oklch(39.4% 0.137 270.5);
Tailwind
colors: {
  custom: {
    50: '#7271b0',
    500: '#2c3c8e',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c8e;
$custom-light: #7271b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c8e",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 230.204,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39378,
    "c": 0.13668,
    "h": 270.5
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#2C3C8E
secondary
#B6A860
accent
#C54CDC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C3C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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