#2C3E9B#2C3E9B

#2C3E9B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.152 H 269.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2C3E9B
RGBrgb(44, 62, 155)
HSLhsl(230, 56%, 39%)
HSVhsv(230, 72%, 61%)
CMYKcmyk(71.6%, 60%, 0%, 39.2%)
CIE-LABlab(30.27, 25.69, -52.88)
CIE-LCHlch(30.27, 58.79, 295.91°)
OKLaboklab(40.88% -0.0002 -0.1525)
OKLCHoklch(40.88% 0.152 269.9)
XYZxyz(8.6757, 6.3464, 31.7718)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E9B #9B892C
analogous
#2C769B #2C3E9B #522C9B
triadic
#2C3E9B #9B2C3E #3E9B2C
tetradic
#2C3E9B #9B2C76 #9B892C #2C9B52
square
#2C3E9B #9B2C76 #9B892C #2C9B52
split-complementary
#2C3E9B #9B522C #769B2C
monochromatic
#11183C #1E2B6B #2C3E9B #3C53C8 #6C7DD5

Accessibility & contrast

On white

9.25
#2C3E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2C3E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E9B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E9B#FFFFFF#000000##FFFFFF
##2C3E9B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c3e9b;
/* rgb */ color: rgb(44, 62, 155);
/* oklch */ color: oklch(40.9% 0.152 269.9);
Tailwind
colors: {
  custom: {
    50: '#7473b9',
    500: '#2c3e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e9b;
$custom-light: #7473b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e9b",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 230.27,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.15249,
    "h": 269.9
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#2C3E9B
secondary
#BCAE67
accent
#C749DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C3E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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