#245AA7#245AA7

#245AA7 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.136 H 257.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#245AA7
RGBrgb(36, 90, 167)
HSLhsl(215, 65%, 40%)
HSVhsv(215, 78%, 65%)
CMYKcmyk(78.4%, 46.1%, 0%, 34.5%)
CIE-LABlab(38.68, 10.56, -46.50)
CIE-LCHlch(38.68, 47.68, 282.79°)
OKLaboklab(47.45% -0.0286 -0.1334)
OKLCHoklch(47.45% 0.136 257.9)
XYZxyz(11.3562, 10.4761, 37.9753)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245AA7 #A77124
analogous
#249CA7 #245AA7 #2F24A7
triadic
#245AA7 #A7245A #5AA724
tetradic
#245AA7 #A7249C #A77124 #24A72F
square
#245AA7 #A7249C #A77124 #24A72F
split-complementary
#245AA7 #A72F24 #9CA724
monochromatic
#0E2442 #193F75 #245AA7 #3576D3 #6798DE

Accessibility & contrast

On white

6.78
#245AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#245AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245AA7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245AA7#FFFFFF#000000##FFFFFF
##245AA71.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161AA
Deuteranopia (green-blind)
#1356A5
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #245aa7;
/* rgb */ color: rgb(36, 90, 167);
/* oklch */ color: oklch(47.5% 0.136 257.9);
Tailwind
colors: {
  custom: {
    50: '#7388c2',
    500: '#245aa7',
    950: '#000000',
  },
}
SCSS
$custom: #245aa7;
$custom-light: #7388c2;
$custom-dark: #000000;
JSON
{
  "hex": "#245aa7",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 215.267,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47453,
    "c": 0.13641,
    "h": 257.9
  },
  "luminance": 0.10477
}

Semantic roles & 50–950 ramp

primary
#245AA7
secondary
#C49C63
accent
#A340E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #245AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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