#2534B1#2534B1

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

Color values

HEX#2534B1
RGBrgb(37, 52, 177)
HSLhsl(234, 65%, 42%)
HSVhsv(234, 79%, 69%)
CMYKcmyk(79.1%, 70.6%, 0%, 30.6%)
CIE-LABlab(29.47, 39.46, -67.45)
CIE-LCHlch(29.47, 78.15, 300.32°)
OKLaboklab(40.81% -0.0021 -0.1954)
OKLCHoklch(40.81% 0.195 269.4)
XYZxyz(9.9240, 6.0225, 42.2259)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2534B1 #B1A225
analogous
#257AB1 #2534B1 #5C25B1
triadic
#2534B1 #B12534 #34B125
tetradic
#2534B1 #B1257A #B1A225 #25B15C
square
#2534B1 #B1257A #B1A225 #25B15C
split-complementary
#2534B1 #B15C25 #7AB125
monochromatic
#10164C #1A257E #2534B1 #3D4DD6 #6F7CE1

Accessibility & contrast

On white

9.52
#2534B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2534B1
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2534B1#FFFFFF#000000##FFFFFF
##2534B11.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2534b1;
/* rgb */ color: rgb(37, 52, 177);
/* oklch */ color: oklch(40.8% 0.195 269.4);
Tailwind
colors: {
  custom: {
    50: '#786cca',
    500: '#2534b1',
    950: '#000000',
  },
}
SCSS
$custom: #2534b1;
$custom-light: #786cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2534b1",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 233.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4081,
    "c": 0.19537,
    "h": 269.4
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#2534B1
secondary
#C8BE6A
accent
#D63FE8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2534B1

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

Preview Lab → · Contrast checker → · Palette generator →

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