#2C3370#2C3370

#2C3370 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.104 H 274.7°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2C3370
RGBrgb(44, 51, 112)
HSLhsl(234, 44%, 31%)
HSVhsv(234, 61%, 44%)
CMYKcmyk(60.7%, 54.5%, 0%, 56.1%)
CIE-LABlab(23.91, 17.13, -36.38)
CIE-LCHlch(23.91, 40.21, 295.21°)
OKLaboklab(35.07% 0.0087 -0.1041)
OKLCHoklch(35.07% 0.104 274.7)
XYZxyz(5.1462, 4.0726, 15.8410)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3370 #70692C
analogous
#2C5570 #2C3370 #472C70
triadic
#2C3370 #702C33 #33702C
tetradic
#2C3370 #702C55 #70692C #2C7047
square
#2C3370 #702C55 #70692C #2C7047
split-complementary
#2C3370 #70472C #55702C
monochromatic
#090B18 #1B1F44 #2C3370 #3D479C #5963BE

Accessibility & contrast

On white

11.57
#2C3370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C3370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3370
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3370#FFFFFF#000000##FFFFFF
##2C33701.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C72
Deuteranopia (green-blind)
#03366F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3370;
/* rgb */ color: rgb(44, 51, 112);
/* oklch */ color: oklch(35.1% 0.104 274.7);
Tailwind
colors: {
  custom: {
    50: '#6c6a99',
    500: '#2c3370',
    950: '#000000',
  },
}
SCSS
$custom: #2c3370;
$custom-light: #6c6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3370",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 233.824,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35067,
    "c": 0.10447,
    "h": 274.7
  },
  "luminance": 0.04073
}

Semantic roles & 50–950 ramp

primary
#2C3370
secondary
#A29A56
accent
#C654D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C3370

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

Preview Lab → · Contrast checker → · Palette generator →

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