#2C3DA8#2C3DA8

#2C3DA8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.172 H 270.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2C3DA8
RGBrgb(44, 61, 168)
HSLhsl(232, 58%, 42%)
HSVhsv(232, 74%, 66%)
CMYKcmyk(73.8%, 63.7%, 0%, 34.1%)
CIE-LABlab(31.11, 31.17, -59.36)
CIE-LCHlch(31.11, 67.04, 297.71°)
OKLaboklab(41.85% 0.0003 -0.1715)
OKLCHoklch(41.85% 0.172 270.1)
XYZxyz(9.7729, 6.6991, 37.8162)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DA8 #A8972C
analogous
#2C7BA8 #2C3DA8 #592CA8
triadic
#2C3DA8 #A82C3D #3DA82C
tetradic
#2C3DA8 #A82C7B #A8972C #2CA859
square
#2C3DA8 #A82C7B #A8972C #2CA859
split-complementary
#2C3DA8 #A8592C #7BA82C
monochromatic
#131A47 #1F2B78 #2C3DA8 #4356CE #7482DB

Accessibility & contrast

On white

8.97
#2C3DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2C3DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3DA8
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DA8#FFFFFF#000000##FFFFFF
##2C3DA81.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3da8;
/* rgb */ color: rgb(44, 61, 168);
/* oklch */ color: oklch(41.8% 0.172 270.1);
Tailwind
colors: {
  custom: {
    50: '#7872c3',
    500: '#2c3da8',
    950: '#000000',
  },
}
SCSS
$custom: #2c3da8;
$custom-light: #7872c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3da8",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 168
  },
  "hsl": {
    "h": 231.774,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41845,
    "c": 0.17151,
    "h": 270.1
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#2C3DA8
secondary
#C2B76E
accent
#CC46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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