#245BAF#245BAF

#245BAF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.146 H 259.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#245BAF
RGBrgb(36, 91, 175)
HSLhsl(216, 66%, 41%)
HSVhsv(216, 79%, 69%)
CMYKcmyk(79.4%, 48%, 0%, 31.4%)
CIE-LABlab(39.50, 13.03, -49.93)
CIE-LCHlch(39.50, 51.60, 284.63°)
OKLaboklab(48.25% -0.028 -0.1434)
OKLCHoklch(48.25% 0.146 259)
XYZxyz(12.2037, 10.9509, 42.0197)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245BAF #AF7824
analogous
#24A1AF #245BAF #3324AF
triadic
#245BAF #AF245B #5BAF24
tetradic
#245BAF #AF24A1 #AF7824 #24AF33
square
#245BAF #AF24A1 #AF7824 #24AF33
split-complementary
#245BAF #AF3324 #A1AF24
monochromatic
#0F2649 #1A417C #245BAF #3A78D6 #6D9BE1

Accessibility & contrast

On white

6.58
#245BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#245BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #245BAF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245BAF#FFFFFF#000000##FFFFFF
##245BAF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #245baf;
/* rgb */ color: rgb(36, 91, 175);
/* oklch */ color: oklch(48.2% 0.146 259.0);
Tailwind
colors: {
  custom: {
    50: '#7588c7',
    500: '#245baf',
    950: '#000000',
  },
}
SCSS
$custom: #245baf;
$custom-light: #7588c7;
$custom-dark: #000000;
JSON
{
  "hex": "#245baf",
  "rgb": {
    "r": 36,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 216.259,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.14616,
    "h": 259
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#245BAF
secondary
#C7A168
accent
#A63FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #245BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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