#2A368C#2A368C

#2A368C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.142 H 271.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2A368C
RGBrgb(42, 54, 140)
HSLhsl(233, 54%, 36%)
HSVhsv(233, 70%, 55%)
CMYKcmyk(70%, 61.4%, 0%, 45.1%)
CIE-LABlab(26.80, 25.15, -49.33)
CIE-LCHlch(26.80, 55.38, 297.02°)
OKLaboklab(37.89% 0.0043 -0.1422)
OKLCHoklch(37.89% 0.142 271.7)
XYZxyz(7.0060, 5.0234, 25.4062)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A368C #8C802A
analogous
#2A678C #2A368C #4F2A8C
triadic
#2A368C #8C2A36 #368C2A
tetradic
#2A368C #8C2A67 #8C802A #2A8C4F
square
#2A368C #8C2A67 #8C802A #2A8C4F
split-complementary
#2A368C #8C4F2A #678C2A
monochromatic
#0E122E #1C245D #2A368C #3848BB #616ED0

Accessibility & contrast

On white

10.47
#2A368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A368C
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A368C#FFFFFF#000000##FFFFFF
##2A368C1.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a368c;
/* rgb */ color: rgb(42, 54, 140);
/* oklch */ color: oklch(37.9% 0.142 271.7);
Tailwind
colors: {
  custom: {
    50: '#716dae',
    500: '#2a368c',
    950: '#000000',
  },
}
SCSS
$custom: #2a368c;
$custom-light: #716dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a368c",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 232.653,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37886,
    "c": 0.14228,
    "h": 271.7
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#2A368C
secondary
#B5AB5C
accent
#CB4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2A368C

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

Preview Lab → · Contrast checker → · Palette generator →

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