#2C3B9F#2C3B9F

#2C3B9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.162 H 270.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2C3B9F
RGBrgb(44, 59, 159)
HSLhsl(232, 57%, 40%)
HSVhsv(232, 72%, 62%)
CMYKcmyk(72.3%, 62.9%, 0%, 37.6%)
CIE-LABlab(29.83, 29.17, -56.03)
CIE-LCHlch(29.83, 63.17, 297.50°)
OKLaboklab(40.66% 0.0021 -0.1618)
OKLCHoklch(40.66% 0.162 270.7)
XYZxyz(8.8585, 6.1657, 33.5174)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3B9F #9F902C
analogous
#2C749F #2C3B9F #572C9F
triadic
#2C3B9F #9F2C3B #3B9F2C
tetradic
#2C3B9F #9F2C74 #9F902C #2C9F57
square
#2C3B9F #9F2C74 #9F902C #2C9F57
split-complementary
#2C3B9F #9F572C #749F2C
monochromatic
#11173F #1F296F #2C3B9F #3E51CA #6E7CD7

Accessibility & contrast

On white

9.40
#2C3B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C3B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3B9F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3B9F#FFFFFF#000000##FFFFFF
##2C3B9F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c3b9f;
/* rgb */ color: rgb(44, 59, 159);
/* oklch */ color: oklch(40.7% 0.162 270.7);
Tailwind
colors: {
  custom: {
    50: '#7671bc',
    500: '#2c3b9f',
    950: '#000000',
  },
}
SCSS
$custom: #2c3b9f;
$custom-light: #7671bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3b9f",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 159
  },
  "hsl": {
    "h": 232.174,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40656,
    "c": 0.16179,
    "h": 270.7
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#2C3B9F
secondary
#BEB369
accent
#CC48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C3B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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