#2D4ABC#2D4ABC

#2D4ABC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.182 H 267.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2D4ABC
RGBrgb(45, 74, 188)
HSLhsl(228, 61%, 46%)
HSVhsv(228, 76%, 74%)
CMYKcmyk(76.1%, 60.6%, 0%, 26.3%)
CIE-LABlab(36.15, 30.21, -63.00)
CIE-LCHlch(36.15, 69.86, 295.62°)
OKLaboklab(46.11% -0.0078 -0.182)
OKLCHoklch(46.11% 0.182 267.6)
XYZxyz(12.6049, 9.0849, 48.6564)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4ABC #BC9F2D
analogous
#2D91BC #2D4ABC #572DBC
triadic
#2D4ABC #BC2D4A #4ABC2D
tetradic
#2D4ABC #BC2D91 #BC9F2D #2DBC57
square
#2D4ABC #BC2D91 #BC9F2D #2DBC57
split-complementary
#2D4ABC #BC572D #91BC2D
monochromatic
#152359 #21378B #2D4ABC #516CD5 #8295E1

Accessibility & contrast

On white

7.45
#2D4ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2D4ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4ABC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4ABC#FFFFFF#000000##FFFFFF
##2D4ABC1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4abc;
/* rgb */ color: rgb(45, 74, 188);
/* oklch */ color: oklch(46.1% 0.182 267.6);
Tailwind
colors: {
  custom: {
    50: '#7c7cd1',
    500: '#2d4abc',
    950: '#000000',
  },
}
SCSS
$custom: #2d4abc;
$custom-light: #7c7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4abc",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 227.832,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.1822,
    "h": 267.6
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#2D4ABC
secondary
#CABA7B
accent
#C443E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2D4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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