#2534B0#2534B0

#2534B0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.194 H 269.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2534B0
RGBrgb(37, 52, 176)
HSLhsl(234, 65%, 42%)
HSVhsv(234, 79%, 69%)
CMYKcmyk(79%, 70.5%, 0%, 31%)
CIE-LABlab(29.37, 39.10, -67.02)
CIE-LCHlch(29.37, 77.59, 300.26°)
OKLaboklab(40.71% -0.002 -0.1941)
OKLCHoklch(40.71% 0.194 269.4)
XYZxyz(9.8247, 5.9828, 41.7029)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2534B0 #B0A125
analogous
#257AB0 #2534B0 #5C25B0
triadic
#2534B0 #B02534 #34B025
tetradic
#2534B0 #B0257A #B0A125 #25B05C
square
#2534B0 #B0257A #B0A125 #25B05C
split-complementary
#2534B0 #B05C25 #7AB025
monochromatic
#10164B #1A257D #2534B0 #3C4DD6 #6F7BE1

Accessibility & contrast

On white

9.56
#2534B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2534B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2534B0
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2534B0#FFFFFF#000000##FFFFFF
##2534B01.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2534b0;
/* rgb */ color: rgb(37, 52, 176);
/* oklch */ color: oklch(40.7% 0.194 269.4);
Tailwind
colors: {
  custom: {
    50: '#786cc9',
    500: '#2534b0',
    950: '#000000',
  },
}
SCSS
$custom: #2534b0;
$custom-light: #786cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2534b0",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 233.525,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.19411,
    "h": 269.4
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#2534B0
secondary
#C7BD6A
accent
#D640E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2534B0

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

Preview Lab → · Contrast checker → · Palette generator →

#2534B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva