#245094#245094

#245094 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.8% C 0.122 H 259.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#245094
RGBrgb(36, 80, 148)
HSLhsl(216, 61%, 36%)
HSVhsv(216, 76%, 58%)
CMYKcmyk(75.7%, 45.9%, 0%, 42%)
CIE-LABlab(34.50, 9.73, -41.81)
CIE-LCHlch(34.50, 42.93, 283.09°)
OKLaboklab(43.83% -0.0233 -0.1198)
OKLCHoklch(43.83% 0.122 259)
XYZxyz(8.9396, 8.2495, 29.1324)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245094 #946824
analogous
#248894 #245094 #302494
triadic
#245094 #942450 #509424
tetradic
#245094 #942488 #946824 #249430
square
#245094 #942488 #946824 #249430
split-complementary
#245094 #943024 #889424
monochromatic
#0C1B32 #183563 #245094 #306BC5 #5B8CD7

Accessibility & contrast

On white

7.92
#245094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#245094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245094
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245094#FFFFFF#000000##FFFFFF
##2450941.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5797
Deuteranopia (green-blind)
#164C93
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #245094;
/* rgb */ color: rgb(36, 80, 148);
/* oklch */ color: oklch(43.8% 0.122 259.0);
Tailwind
colors: {
  custom: {
    50: '#6f80b4',
    500: '#245094',
    950: '#000000',
  },
}
SCSS
$custom: #245094;
$custom-light: #6f80b4;
$custom-dark: #000000;
JSON
{
  "hex": "#245094",
  "rgb": {
    "r": 36,
    "g": 80,
    "b": 148
  },
  "hsl": {
    "h": 216.429,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43827,
    "c": 0.12204,
    "h": 259
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#245094
secondary
#BC9558
accent
#A544E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #245094

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

Preview Lab → · Contrast checker → · Palette generator →

#245094 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva