#2C368A#2C368A

#2C368A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.139 H 272.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2C368A
RGBrgb(44, 54, 138)
HSLhsl(234, 52%, 36%)
HSVhsv(234, 68%, 54%)
CMYKcmyk(68.1%, 60.9%, 0%, 45.9%)
CIE-LABlab(26.76, 24.72, -48.16)
CIE-LCHlch(26.76, 54.13, 297.17°)
OKLaboklab(37.84% 0.0065 -0.1387)
OKLCHoklch(37.84% 0.139 272.7)
XYZxyz(6.9438, 5.0082, 24.6406)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C368A #8A802C
analogous
#2C658A #2C368A #512C8A
triadic
#2C368A #8A2C36 #368A2C
tetradic
#2C368A #8A2C65 #8A802C #2C8A51
square
#2C368A #8A2C65 #8A802C #2C8A51
split-complementary
#2C368A #8A512C #658A2C
monochromatic
#0E122D #1D245C #2C368A #3B48B8 #636ECD

Accessibility & contrast

On white

10.49
#2C368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C368A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C368A#FFFFFF#000000##FFFFFF
##2C368A1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c368a;
/* rgb */ color: rgb(44, 54, 138);
/* oklch */ color: oklch(37.8% 0.139 272.7);
Tailwind
colors: {
  custom: {
    50: '#716dad',
    500: '#2c368a',
    950: '#000000',
  },
}
SCSS
$custom: #2c368a;
$custom-light: #716dad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c368a",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 233.617,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37835,
    "c": 0.13887,
    "h": 272.7
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#2C368A
secondary
#B4AB5E
accent
#CC4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C368A

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

Preview Lab → · Contrast checker → · Palette generator →

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