#2A3B60#2A3B60

#2A3B60 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.6% C 0.068 H 264.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2A3B60
RGBrgb(42, 59, 96)
HSLhsl(221, 39%, 27%)
HSVhsv(221, 56%, 38%)
CMYKcmyk(56.3%, 38.5%, 0%, 62.4%)
CIE-LABlab(25.15, 5.22, -24.08)
CIE-LCHlch(25.15, 24.64, 282.24°)
OKLaboklab(35.65% -0.0066 -0.068)
OKLCHoklch(35.65% 0.068 264.5)
XYZxyz(4.6294, 4.4644, 11.6818)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B60 #604F2A
analogous
#2A5660 #2A3B60 #342A60
triadic
#2A3B60 #602A3B #3B602A
tetradic
#2A3B60 #602A56 #604F2A #2A6034
square
#2A3B60 #602A56 #604F2A #2A6034
split-complementary
#2A3B60 #60342A #56602A
monochromatic
#090D15 #172135 #2A3B60 #3D558B #5170B3

Accessibility & contrast

On white

11.09
#2A3B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2A3B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B60
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B60#FFFFFF#000000##FFFFFF
##2A3B601.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3E62
Deuteranopia (green-blind)
#26395F
Tritanopia (blue-blind)
#0F4349
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a3b60;
/* rgb */ color: rgb(42, 59, 96);
/* oklch */ color: oklch(35.6% 0.068 264.5);
Tailwind
colors: {
  custom: {
    50: '#68708d',
    500: '#2a3b60',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b60;
$custom-light: #68708d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b60",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 96
  },
  "hsl": {
    "h": 221.111,
    "s": 39.13,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35646,
    "c": 0.06834,
    "h": 264.5
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#2A3B60
secondary
#927F53
accent
#AA59CF
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2A3B60

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

Preview Lab → · Contrast checker → · Palette generator →

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