#245BAC#245BAC

#245BAC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.0% C 0.142 H 258.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#245BAC
RGBrgb(36, 91, 172)
HSLhsl(216, 65%, 41%)
HSVhsv(216, 79%, 67%)
CMYKcmyk(79.1%, 47.1%, 0%, 32.5%)
CIE-LABlab(39.30, 11.86, -48.47)
CIE-LCHlch(39.30, 49.90, 283.75°)
OKLaboklab(48.03% -0.0285 -0.1392)
OKLCHoklch(48.03% 0.142 258.4)
XYZxyz(11.9123, 10.8344, 40.4851)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245BAC #AC7524
analogous
#249FAC #245BAC #3124AC
triadic
#245BAC #AC245B #5BAC24
tetradic
#245BAC #AC249F #AC7524 #24AC31
square
#245BAC #AC249F #AC7524 #24AC31
split-complementary
#245BAC #AC3124 #9FAC24
monochromatic
#0F2547 #194079 #245BAC #3878D5 #6A9AE0

Accessibility & contrast

On white

6.63
#245BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#245BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245BAC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245BAC#FFFFFF#000000##FFFFFF
##245BAC1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#0857AA
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #245bac;
/* rgb */ color: rgb(36, 91, 172);
/* oklch */ color: oklch(48.0% 0.142 258.4);
Tailwind
colors: {
  custom: {
    50: '#7488c5',
    500: '#245bac',
    950: '#000000',
  },
}
SCSS
$custom: #245bac;
$custom-light: #7488c5;
$custom-dark: #000000;
JSON
{
  "hex": "#245bac",
  "rgb": {
    "r": 36,
    "g": 91,
    "b": 172
  },
  "hsl": {
    "h": 215.735,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48033,
    "c": 0.14206,
    "h": 258.4
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#245BAC
secondary
#C69F66
accent
#A43FE8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #245BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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