#2C368E#2C368E

#2C368E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.145 H 272.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2C368E
RGBrgb(44, 54, 142)
HSLhsl(234, 53%, 36%)
HSVhsv(234, 69%, 56%)
CMYKcmyk(69%, 62%, 0%, 44.3%)
CIE-LABlab(27.09, 26.20, -50.09)
CIE-LCHlch(27.09, 56.53, 297.61°)
OKLaboklab(38.19% 0.0065 -0.1444)
OKLCHoklch(38.19% 0.145 272.6)
XYZxyz(7.2387, 5.1261, 26.1939)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C368E #8E842C
analogous
#2C678E #2C368E #532C8E
triadic
#2C368E #8E2C36 #368E2C
tetradic
#2C368E #8E2C67 #8E842C #2C8E53
square
#2C368E #8E2C67 #8E842C #2C8E53
split-complementary
#2C368E #8E532C #678E2C
monochromatic
#0F1231 #1E245F #2C368E #3A48BD #6570CF

Accessibility & contrast

On white

10.37
#2C368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C368E
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C368E#FFFFFF#000000##FFFFFF
##2C368E1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c368e;
/* rgb */ color: rgb(44, 54, 142);
/* oklch */ color: oklch(38.2% 0.145 272.6);
Tailwind
colors: {
  custom: {
    50: '#726db0',
    500: '#2c368e',
    950: '#000000',
  },
}
SCSS
$custom: #2c368e;
$custom-light: #726db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c368e",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 233.878,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38186,
    "c": 0.14454,
    "h": 272.6
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#2C368E
secondary
#B6AD60
accent
#CD4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C368E

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

Preview Lab → · Contrast checker → · Palette generator →

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