#2C3F9B#2C3F9B

#2C3F9B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.151 H 269.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2C3F9B
RGBrgb(44, 63, 155)
HSLhsl(230, 56%, 39%)
HSVhsv(230, 72%, 61%)
CMYKcmyk(71.6%, 59.4%, 0%, 39.2%)
CIE-LABlab(30.54, 25.02, -52.45)
CIE-LCHlch(30.54, 58.11, 295.50°)
OKLaboklab(41.08% -0.001 -0.1512)
OKLCHoklch(41.08% 0.151 269.6)
XYZxyz(8.7306, 6.4562, 31.7900)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F9B #9B882C
analogous
#2C779B #2C3F9B #512C9B
triadic
#2C3F9B #9B2C3F #3F9B2C
tetradic
#2C3F9B #9B2C77 #9B882C #2C9B51
square
#2C3F9B #9B2C77 #9B882C #2C9B51
split-complementary
#2C3F9B #9B512C #779B2C
monochromatic
#11183C #1E2C6B #2C3F9B #3C54C8 #6C7ED5

Accessibility & contrast

On white

9.16
#2C3F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2C3F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F9B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F9B#FFFFFF#000000##FFFFFF
##2C3F9B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c3f9b;
/* rgb */ color: rgb(44, 63, 155);
/* oklch */ color: oklch(41.1% 0.151 269.6);
Tailwind
colors: {
  custom: {
    50: '#7473b9',
    500: '#2c3f9b',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f9b;
$custom-light: #7473b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f9b",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 229.73,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41078,
    "c": 0.15121,
    "h": 269.6
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#2C3F9B
secondary
#BCAE67
accent
#C549DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C3F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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