#2C3FAF#2C3FAF

#2C3FAF is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.178 H 269.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2C3FAF
RGBrgb(44, 63, 175)
HSLhsl(231, 60%, 43%)
HSVhsv(231, 75%, 69%)
CMYKcmyk(74.9%, 64%, 0%, 31.4%)
CIE-LABlab(32.22, 32.44, -61.72)
CIE-LCHlch(32.22, 69.73, 297.73°)
OKLaboklab(42.85% -0.0013 -0.1784)
OKLCHoklch(42.85% 0.178 269.6)
XYZxyz(10.5514, 7.1845, 41.3798)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FAF #AF9C2C
analogous
#2C80AF #2C3FAF #5B2CAF
triadic
#2C3FAF #AF2C3F #3FAF2C
tetradic
#2C3FAF #AF2C80 #AF9C2C #2CAF5B
square
#2C3FAF #AF2C80 #AF9C2C #2CAF5B
split-complementary
#2C3FAF #AF5B2C #80AF2C
monochromatic
#131C4D #202D7E #2C3FAF #475BD1 #7887DD

Accessibility & contrast

On white

8.62
#2C3FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2C3FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FAF
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FAF#FFFFFF#000000##FFFFFF
##2C3FAF1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c3faf;
/* rgb */ color: rgb(44, 63, 175);
/* oklch */ color: oklch(42.9% 0.178 269.6);
Tailwind
colors: {
  custom: {
    50: '#7974c8',
    500: '#2c3faf',
    950: '#000000',
  },
}
SCSS
$custom: #2c3faf;
$custom-light: #7974c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3faf",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 231.298,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42852,
    "c": 0.17843,
    "h": 269.6
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#2C3FAF
secondary
#C5B972
accent
#CC45E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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