#2530AF#2530AF

#2530AF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.197 H 270.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2530AF
RGBrgb(37, 48, 175)
HSLhsl(235, 65%, 42%)
HSVhsv(235, 79%, 69%)
CMYKcmyk(78.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(28.38, 41.18, -68.05)
CIE-LCHlch(28.38, 79.54, 301.18°)
OKLaboklab(39.97% -0.0002 -0.1971)
OKLCHoklch(39.97% 0.197 270)
XYZxyz(9.5551, 5.6013, 41.1267)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2530AF #AFA425
analogous
#2575AF #2530AF #5F25AF
triadic
#2530AF #AF2530 #30AF25
tetradic
#2530AF #AF2575 #AFA425 #25AF5F
square
#2530AF #AF2575 #AFA425 #25AF5F
split-complementary
#2530AF #AF5F25 #75AF25
monochromatic
#10144A #1A227C #2530AF #3C48D6 #6E77E0

Accessibility & contrast

On white

9.90
#2530AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2530AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2530AF
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2530AF#FFFFFF#000000##FFFFFF
##2530AF1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2530af;
/* rgb */ color: rgb(37, 48, 175);
/* oklch */ color: oklch(40.0% 0.197 270.0);
Tailwind
colors: {
  custom: {
    50: '#7869c8',
    500: '#2530af',
    950: '#000000',
  },
}
SCSS
$custom: #2530af;
$custom-light: #7869c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2530af",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 235.217,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39968,
    "c": 0.19709,
    "h": 270
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#2530AF
secondary
#C7BF69
accent
#DB40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2530AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2530AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva