#2458A8#2458A8

#2458A8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.140 H 259.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2458A8
RGBrgb(36, 88, 168)
HSLhsl(216, 65%, 40%)
HSVhsv(216, 79%, 66%)
CMYKcmyk(78.6%, 47.6%, 0%, 34.1%)
CIE-LABlab(38.16, 12.26, -47.93)
CIE-LCHlch(38.16, 49.47, 284.35°)
OKLaboklab(47.07% -0.0267 -0.1376)
OKLCHoklch(47.07% 0.14 259)
XYZxyz(11.2826, 10.1804, 38.4086)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2458A8 #A87424
analogous
#249AA8 #2458A8 #3224A8
triadic
#2458A8 #A82458 #58A824
tetradic
#2458A8 #A8249A #A87424 #24A832
square
#2458A8 #A8249A #A87424 #24A832
split-complementary
#2458A8 #A83224 #9AA824
monochromatic
#0E2343 #193E76 #2458A8 #3574D4 #6897DF

Accessibility & contrast

On white

6.92
#2458A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2458A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2458A8
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2458A8#FFFFFF#000000##FFFFFF
##2458A81.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AB
Deuteranopia (green-blind)
#0454A6
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2458a8;
/* rgb */ color: rgb(36, 88, 168);
/* oklch */ color: oklch(47.1% 0.140 259.0);
Tailwind
colors: {
  custom: {
    50: '#7386c2',
    500: '#2458a8',
    950: '#000000',
  },
}
SCSS
$custom: #2458a8;
$custom-light: #7386c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2458a8",
  "rgb": {
    "r": 36,
    "g": 88,
    "b": 168
  },
  "hsl": {
    "h": 216.364,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.47074,
    "c": 0.1402,
    "h": 259
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#2458A8
secondary
#C49E63
accent
#A640E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2458A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2458A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva