#2A368F#2A368F

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

Color values

HEX#2A368F
RGBrgb(42, 54, 143)
HSLhsl(233, 55%, 36%)
HSVhsv(233, 71%, 56%)
CMYKcmyk(70.6%, 62.2%, 0%, 43.9%)
CIE-LABlab(27.05, 26.28, -50.77)
CIE-LCHlch(27.05, 57.17, 297.36°)
OKLaboklab(38.15% 0.0042 -0.1464)
OKLCHoklch(38.15% 0.147 271.6)
XYZxyz(7.2303, 5.1131, 26.5872)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A368F #8F832A
analogous
#2A698F #2A368F #512A8F
triadic
#2A368F #8F2A36 #368F2A
tetradic
#2A368F #8F2A69 #8F832A #2A8F51
square
#2A368F #8F2A69 #8F832A #2A8F51
split-complementary
#2A368F #8F512A #698F2A
monochromatic
#0E1230 #1C2460 #2A368F #3848BE #6270D1

Accessibility & contrast

On white

10.38
#2A368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2A368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A368F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A368F#FFFFFF#000000##FFFFFF
##2A368F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a368f;
/* rgb */ color: rgb(42, 54, 143);
/* oklch */ color: oklch(38.2% 0.147 271.6);
Tailwind
colors: {
  custom: {
    50: '#716db1',
    500: '#2a368f',
    950: '#000000',
  },
}
SCSS
$custom: #2a368f;
$custom-light: #716db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a368f",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 232.871,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38152,
    "c": 0.14651,
    "h": 271.6
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#2A368F
secondary
#B7AC5E
accent
#CC4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A368F

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

Preview Lab → · Contrast checker → · Palette generator →

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