#2C4B93#2C4B93

#2C4B93 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.124 H 264.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2C4B93
RGBrgb(44, 75, 147)
HSLhsl(222, 54%, 37%)
HSVhsv(222, 70%, 58%)
CMYKcmyk(70.1%, 49%, 0%, 42.4%)
CIE-LABlab(33.29, 13.89, -43.12)
CIE-LCHlch(33.29, 45.30, 287.86°)
OKLaboklab(42.97% -0.0123 -0.1236)
OKLCHoklch(42.97% 0.124 264.3)
XYZxyz(8.8194, 7.6733, 28.6144)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B93 #93742C
analogous
#2C7E93 #2C4B93 #412C93
triadic
#2C4B93 #932C4B #4B932C
tetradic
#2C4B93 #932C7E #93742C #2C9341
square
#2C4B93 #932C7E #93742C #2C9341
split-complementary
#2C4B93 #93412C #7E932C
monochromatic
#101B35 #1E3364 #2C4B93 #3A63C2 #6888D2

Accessibility & contrast

On white

8.28
#2C4B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2C4B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B93
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B93#FFFFFF#000000##FFFFFF
##2C4B931.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255396
Deuteranopia (green-blind)
#0B4A92
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4b93;
/* rgb */ color: rgb(44, 75, 147);
/* oklch */ color: oklch(43.0% 0.124 264.3);
Tailwind
colors: {
  custom: {
    50: '#727cb3',
    500: '#2c4b93',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b93;
$custom-light: #727cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b93",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 147
  },
  "hsl": {
    "h": 221.942,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42974,
    "c": 0.1242,
    "h": 264.3
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#2C4B93
secondary
#B89E63
accent
#B14ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4B93

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

Preview Lab → · Contrast checker → · Palette generator →

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