#2D54AF#2D54AF

#2D54AF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.152 H 264.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2D54AF
RGBrgb(45, 84, 175)
HSLhsl(222, 59%, 43%)
HSVhsv(222, 74%, 69%)
CMYKcmyk(74.3%, 52%, 0%, 31.4%)
CIE-LABlab(37.83, 18.73, -52.60)
CIE-LCHlch(37.83, 55.84, 289.60°)
OKLaboklab(47.06% -0.0159 -0.1513)
OKLCHoklch(47.06% 0.152 264)
XYZxyz(11.9876, 9.9924, 41.8461)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D54AF #AF882D
analogous
#2D95AF #2D54AF #472DAF
triadic
#2D54AF #AF2D54 #54AF2D
tetradic
#2D54AF #AF2D95 #AF882D #2DAF47
square
#2D54AF #AF2D95 #AF882D #2DAF47
split-complementary
#2D54AF #AF472D #95AF2D
monochromatic
#14254E #203D7E #2D54AF #4972D0 #7A97DD

Accessibility & contrast

On white

7.00
#2D54AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2D54AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D54AF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D54AF#FFFFFF#000000##FFFFFF
##2D54AF1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d54af;
/* rgb */ color: rgb(45, 84, 175);
/* oklch */ color: oklch(47.1% 0.152 264.0);
Tailwind
colors: {
  custom: {
    50: '#7883c7',
    500: '#2d54af',
    950: '#000000',
  },
}
SCSS
$custom: #2d54af;
$custom-light: #7883c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d54af",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 222,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47061,
    "c": 0.15216,
    "h": 264
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#2D54AF
secondary
#C5AC73
accent
#B346E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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