#2D57CA#2D57CA

#2D57CA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.8% C 0.185 H 265.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2D57CA
RGBrgb(45, 87, 202)
HSLhsl(224, 64%, 48%)
HSVhsv(224, 78%, 79%)
CMYKcmyk(77.7%, 56.9%, 0%, 20.8%)
CIE-LABlab(40.63, 26.98, -63.84)
CIE-LCHlch(40.63, 69.31, 292.91°)
OKLaboklab(49.81% -0.016 -0.1843)
OKLCHoklch(49.81% 0.185 265)
XYZxyz(15.1473, 11.6368, 57.3135)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57CA #CAA02D
analogous
#2DA5CA #2D57CA #512DCA
triadic
#2D57CA #CA2D57 #57CA2D
tetradic
#2D57CA #CA2DA5 #CAA02D #2DCA51
square
#2D57CA #CA2DA5 #CAA02D #2DCA51
split-complementary
#2D57CA #CA512D #A5CA2D
monochromatic
#172C66 #224198 #2D57CA #5A7CDA #8CA4E5

Accessibility & contrast

On white

6.31
#2D57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2D57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D57CA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57CA#FFFFFF#000000##FFFFFF
##2D57CA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d57ca;
/* rgb */ color: rgb(45, 87, 202);
/* oklch */ color: oklch(49.8% 0.185 265.0);
Tailwind
colors: {
  custom: {
    50: '#7e85db',
    500: '#2d57ca',
    950: '#000000',
  },
}
SCSS
$custom: #2d57ca;
$custom-light: #7e85db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57ca",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 223.949,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49809,
    "c": 0.18502,
    "h": 265
  },
  "luminance": 0.11639
}

Semantic roles & 50–950 ramp

primary
#2D57CA
secondary
#CFBB83
accent
#BA41E7
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2D57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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