#2C3D8F#2C3D8F

#2C3D8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.137 H 270.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2C3D8F
RGBrgb(44, 61, 143)
HSLhsl(230, 53%, 37%)
HSVhsv(230, 69%, 56%)
CMYKcmyk(69.2%, 57.3%, 0%, 43.9%)
CIE-LABlab(29.04, 21.85, -47.53)
CIE-LCHlch(29.04, 52.31, 294.69°)
OKLaboklab(39.67% 0.0004 -0.1368)
OKLCHoklch(39.67% 0.137 270.2)
XYZxyz(7.6637, 5.8554, 26.7076)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D8F #8F7E2C
analogous
#2C6F8F #2C3D8F #4D2C8F
triadic
#2C3D8F #8F2C3D #3D8F2C
tetradic
#2C3D8F #8F2C6F #8F7E2C #2C8F4D
square
#2C3D8F #8F2C6F #8F7E2C #2C8F4D
split-complementary
#2C3D8F #8F4D2C #6F8F2C
monochromatic
#0F1531 #1E2960 #2C3D8F #3A51BE #6678D0

Accessibility & contrast

On white

9.67
#2C3D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C3D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D8F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D8F#FFFFFF#000000##FFFFFF
##2C3D8F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3d8f;
/* rgb */ color: rgb(44, 61, 143);
/* oklch */ color: oklch(39.7% 0.137 270.2);
Tailwind
colors: {
  custom: {
    50: '#7272b0',
    500: '#2c3d8f',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d8f;
$custom-light: #7272b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d8f",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 229.697,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39665,
    "c": 0.13679,
    "h": 270.2
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

primary
#2C3D8F
secondary
#B6A861
accent
#C34BDC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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