#2C368C#2C368C

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

Color values

HEX#2C368C
RGBrgb(44, 54, 140)
HSLhsl(234, 52%, 36%)
HSVhsv(234, 69%, 55%)
CMYKcmyk(68.6%, 61.4%, 0%, 45.1%)
CIE-LABlab(26.92, 25.46, -49.13)
CIE-LCHlch(26.92, 55.33, 297.40°)
OKLaboklab(38.01% 0.0065 -0.1416)
OKLCHoklch(38.01% 0.142 272.6)
XYZxyz(7.0899, 5.0666, 25.4102)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C368C #8C822C
analogous
#2C668C #2C368C #522C8C
triadic
#2C368C #8C2C36 #368C2C
tetradic
#2C368C #8C2C66 #8C822C #2C8C52
square
#2C368C #8C2C66 #8C822C #2C8C52
split-complementary
#2C368C #8C522C #668C2C
monochromatic
#0F122F #1D245D #2C368C #3B48BB #646FCE

Accessibility & contrast

On white

10.43
#2C368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2C368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C368C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C368C#FFFFFF#000000##FFFFFF
##2C368C1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c368c;
/* rgb */ color: rgb(44, 54, 140);
/* oklch */ color: oklch(38.0% 0.142 272.6);
Tailwind
colors: {
  custom: {
    50: '#726dae',
    500: '#2c368c',
    950: '#000000',
  },
}
SCSS
$custom: #2c368c;
$custom-light: #726dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c368c",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 233.75,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38009,
    "c": 0.14172,
    "h": 272.6
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#2C368C
secondary
#B5AC5F
accent
#CD4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C368C

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

Preview Lab → · Contrast checker → · Palette generator →

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