#2345AF#2345AF

#2345AF is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.174 H 265.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2345AF
RGBrgb(35, 69, 175)
HSLhsl(225, 67%, 41%)
HSVhsv(225, 80%, 69%)
CMYKcmyk(80%, 60.6%, 0%, 31.4%)
CIE-LABlab(33.37, 27.56, -59.87)
CIE-LCHlch(33.37, 65.91, 294.71°)
OKLaboklab(43.59% -0.0129 -0.1731)
OKLCHoklch(43.59% 0.174 265.7)
XYZxyz(10.5564, 7.7075, 41.4805)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2345AF #AF8D23
analogous
#238BAF #2345AF #4723AF
triadic
#2345AF #AF2345 #45AF23
tetradic
#2345AF #AF238B #AF8D23 #23AF47
square
#2345AF #AF238B #AF8D23 #23AF47
split-complementary
#2345AF #AF4723 #8BAF23
monochromatic
#0F1D49 #19317C #2345AF #385FD7 #6B88E1

Accessibility & contrast

On white

8.26
#2345AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2345AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2345AF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2345AF#FFFFFF#000000##FFFFFF
##2345AF1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2345af;
/* rgb */ color: rgb(35, 69, 175);
/* oklch */ color: oklch(43.6% 0.174 265.7);
Tailwind
colors: {
  custom: {
    50: '#7678c8',
    500: '#2345af',
    950: '#000000',
  },
}
SCSS
$custom: #2345af;
$custom-light: #7678c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2345af",
  "rgb": {
    "r": 35,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 225.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43591,
    "c": 0.17359,
    "h": 265.7
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#2345AF
secondary
#C7B066
accent
#C03EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2345AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2345AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva