#2533B2#2533B2

#2533B2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.198 H 269.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2533B2
RGBrgb(37, 51, 178)
HSLhsl(234, 66%, 42%)
HSVhsv(234, 79%, 70%)
CMYKcmyk(79.2%, 71.3%, 0%, 30.2%)
CIE-LABlab(29.35, 40.42, -68.25)
CIE-LCHlch(29.35, 79.32, 300.64°)
OKLaboklab(40.75% -0.0018 -0.1977)
OKLCHoklch(40.75% 0.198 269.5)
XYZxyz(9.9799, 5.9742, 42.7380)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2533B2 #B2A425
analogous
#2579B2 #2533B2 #5E25B2
triadic
#2533B2 #B22533 #33B225
tetradic
#2533B2 #B22579 #B2A425 #25B25E
square
#2533B2 #B22579 #B2A425 #25B25E
split-complementary
#2533B2 #B25E25 #79B225
monochromatic
#10164D #1A247F #2533B2 #3D4DD7 #707BE1

Accessibility & contrast

On white

9.57
#2533B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2533B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2533B2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2533B2#FFFFFF#000000##FFFFFF
##2533B21.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2533b2;
/* rgb */ color: rgb(37, 51, 178);
/* oklch */ color: oklch(40.8% 0.198 269.5);
Tailwind
colors: {
  custom: {
    50: '#796bca',
    500: '#2533b2',
    950: '#000000',
  },
}
SCSS
$custom: #2533b2;
$custom-light: #796bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2533b2",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 234.043,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40752,
    "c": 0.19769,
    "h": 269.5
  },
  "luminance": 0.05975
}

Semantic roles & 50–950 ramp

primary
#2533B2
secondary
#C8BF6B
accent
#D83FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2533B2

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

Preview Lab → · Contrast checker → · Palette generator →

#2533B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva