#2C3BAF#2C3BAF

#2C3BAF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.183 H 270.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2C3BAF
RGBrgb(44, 59, 175)
HSLhsl(233, 60%, 43%)
HSVhsv(233, 75%, 69%)
CMYKcmyk(74.9%, 66.3%, 0%, 31.4%)
CIE-LABlab(31.25, 35.02, -63.32)
CIE-LCHlch(31.25, 72.36, 298.94°)
OKLaboklab(42.14% 0.0012 -0.1831)
OKLCHoklch(42.14% 0.183 270.4)
XYZxyz(10.3379, 6.7575, 41.3086)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3BAF #AFA02C
analogous
#2C7CAF #2C3BAF #5F2CAF
triadic
#2C3BAF #AF2C3B #3BAF2C
tetradic
#2C3BAF #AF2C7C #AFA02C #2CAF5F
square
#2C3BAF #AF2C7C #AFA02C #2CAF5F
split-complementary
#2C3BAF #AF5F2C #7CAF2C
monochromatic
#131A4D #202B7E #2C3BAF #4757D1 #7884DD

Accessibility & contrast

On white

8.93
#2C3BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C3BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3BAF
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3BAF#FFFFFF#000000##FFFFFF
##2C3BAF1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3baf;
/* rgb */ color: rgb(44, 59, 175);
/* oklch */ color: oklch(42.1% 0.183 270.4);
Tailwind
colors: {
  custom: {
    50: '#7971c8',
    500: '#2c3baf',
    950: '#000000',
  },
}
SCSS
$custom: #2c3baf;
$custom-light: #7971c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3baf",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 233.13,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42137,
    "c": 0.18314,
    "h": 270.4
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#2C3BAF
secondary
#C5BC72
accent
#D145E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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