#234A8D#234A8D

#234A8D is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.120 H 260.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#234A8D
RGBrgb(35, 74, 141)
HSLhsl(218, 60%, 35%)
HSVhsv(218, 75%, 55%)
CMYKcmyk(75.2%, 47.5%, 0%, 44.7%)
CIE-LABlab(32.21, 10.86, -41.22)
CIE-LCHlch(32.21, 42.63, 284.76°)
OKLaboklab(41.9% -0.0199 -0.1182)
OKLCHoklch(41.9% 0.12 260.4)
XYZxyz(7.9479, 7.1771, 26.1606)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234A8D #8D6623
analogous
#237F8D #234A8D #31238D
triadic
#234A8D #8D234A #4A8D23
tetradic
#234A8D #8D237F #8D6623 #238D31
square
#234A8D #8D237F #8D6623 #238D31
split-complementary
#234A8D #8D3123 #7F8D23
monochromatic
#0B172B #17305C #234A8D #2F64BE #5584D5

Accessibility & contrast

On white

8.62
#234A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#234A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234A8D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234A8D#FFFFFF#000000##FFFFFF
##234A8D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#0E478C
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #234a8d;
/* rgb */ color: rgb(35, 74, 141);
/* oklch */ color: oklch(41.9% 0.120 260.4);
Tailwind
colors: {
  custom: {
    50: '#6d7caf',
    500: '#234a8d',
    950: '#000000',
  },
}
SCSS
$custom: #234a8d;
$custom-light: #6d7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#234a8d",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 217.925,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.11984,
    "h": 260.4
  },
  "luminance": 0.07178
}

Semantic roles & 50–950 ramp

primary
#234A8D
secondary
#B99353
accent
#A944E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #234A8D

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

Preview Lab → · Contrast checker → · Palette generator →

#234A8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva