#245FB5#245FB5

#245FB5 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.149 H 258.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#245FB5
RGBrgb(36, 95, 181)
HSLhsl(216, 67%, 43%)
HSVhsv(216, 80%, 71%)
CMYKcmyk(80.1%, 47.5%, 0%, 29%)
CIE-LABlab(41.05, 12.76, -50.96)
CIE-LCHlch(41.05, 52.53, 284.05°)
OKLaboklab(49.57% -0.0302 -0.1464)
OKLCHoklch(49.57% 0.149 258.4)
XYZxyz(13.1572, 11.8941, 45.3095)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245FB5 #B57A24
analogous
#24A8B5 #245FB5 #3124B5
triadic
#245FB5 #B5245F #5FB524
tetradic
#245FB5 #B524A8 #B57A24 #24B531
square
#245FB5 #B524A8 #B57A24 #24B531
split-complementary
#245FB5 #B53124 #A8B524
monochromatic
#10294F #1A4482 #245FB5 #3E7DD9 #719FE3

Accessibility & contrast

On white

6.21
#245FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#245FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245FB5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245FB5#FFFFFF#000000##FFFFFF
##245FB51.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#005BB3
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #245fb5;
/* rgb */ color: rgb(36, 95, 181);
/* oklch */ color: oklch(49.6% 0.149 258.4);
Tailwind
colors: {
  custom: {
    50: '#768bcc',
    500: '#245fb5',
    950: '#000000',
  },
}
SCSS
$custom: #245fb5;
$custom-light: #768bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#245fb5",
  "rgb": {
    "r": 36,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 215.586,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49568,
    "c": 0.14949,
    "h": 258.4
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#245FB5
secondary
#C9A36B
accent
#A43EEA
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #245FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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