#245EB6#245EB6

#245EB6 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.152 H 258.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#245EB6
RGBrgb(36, 94, 182)
HSLhsl(216, 67%, 43%)
HSVhsv(216, 80%, 71%)
CMYKcmyk(80.2%, 48.4%, 0%, 28.6%)
CIE-LABlab(40.83, 13.80, -51.90)
CIE-LCHlch(40.83, 53.70, 284.89°)
OKLaboklab(49.42% -0.0292 -0.1492)
OKLCHoklch(49.42% 0.152 258.9)
XYZxyz(13.1707, 11.7563, 45.8219)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245EB6 #B67C24
analogous
#24A7B6 #245EB6 #3324B6
triadic
#245EB6 #B6245E #5EB624
tetradic
#245EB6 #B624A7 #B67C24 #24B633
square
#245EB6 #B624A7 #B67C24 #24B633
split-complementary
#245EB6 #B63324 #A7B624
monochromatic
#102950 #1A4483 #245EB6 #3E7CD9 #719FE3

Accessibility & contrast

On white

6.27
#245EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#245EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245EB6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245EB6#FFFFFF#000000##FFFFFF
##245EB61.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C67B9
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #245eb6;
/* rgb */ color: rgb(36, 94, 182);
/* oklch */ color: oklch(49.4% 0.152 258.9);
Tailwind
colors: {
  custom: {
    50: '#768bcc',
    500: '#245eb6',
    950: '#000000',
  },
}
SCSS
$custom: #245eb6;
$custom-light: #768bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#245eb6",
  "rgb": {
    "r": 36,
    "g": 94,
    "b": 182
  },
  "hsl": {
    "h": 216.164,
    "s": 66.972,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.15204,
    "h": 258.9
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#245EB6
secondary
#CAA56C
accent
#A63EEA
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245EB6

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

Preview Lab → · Contrast checker → · Palette generator →

#245EB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva