#234A9A#234A9A

#234A9A is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.138 H 262.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#234A9A
RGBrgb(35, 74, 154)
HSLhsl(220, 63%, 37%)
HSVhsv(220, 77%, 60%)
CMYKcmyk(77.3%, 51.9%, 0%, 39.6%)
CIE-LABlab(33.11, 15.99, -47.69)
CIE-LCHlch(33.11, 50.30, 288.54°)
OKLaboklab(42.88% -0.0179 -0.1372)
OKLCHoklch(42.88% 0.138 262.5)
XYZxyz(8.9726, 7.5870, 31.5571)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234A9A #9A7323
analogous
#23869A #234A9A #37239A
triadic
#234A9A #9A234A #4A9A23
tetradic
#234A9A #9A2386 #9A7323 #239A37
square
#234A9A #9A2386 #9A7323 #239A37
split-complementary
#234A9A #9A3723 #869A23
monochromatic
#0C1A36 #183268 #234A9A #2E62CC #5D86DA

Accessibility & contrast

On white

8.34
#234A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#234A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234A9A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234A9A#FFFFFF#000000##FFFFFF
##234A9A1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #234a9a;
/* rgb */ color: rgb(35, 74, 154);
/* oklch */ color: oklch(42.9% 0.138 262.5);
Tailwind
colors: {
  custom: {
    50: '#707bb8',
    500: '#234a9a',
    950: '#000000',
  },
}
SCSS
$custom: #234a9a;
$custom-light: #707bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#234a9a",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 154
  },
  "hsl": {
    "h": 220.336,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42882,
    "c": 0.13838,
    "h": 262.5
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#234A9A
secondary
#BF9E5A
accent
#B042E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #234A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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