#234A9D#234A9D

#234A9D is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.143 H 262.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#234A9D
RGBrgb(35, 74, 157)
HSLhsl(221, 64%, 38%)
HSVhsv(221, 78%, 62%)
CMYKcmyk(77.7%, 52.9%, 0%, 38.4%)
CIE-LABlab(33.32, 17.18, -49.15)
CIE-LCHlch(33.32, 52.06, 289.26°)
OKLaboklab(43.12% -0.0176 -0.1415)
OKLCHoklch(43.12% 0.143 262.9)
XYZxyz(9.2255, 7.6882, 32.8895)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234A9D #9D7623
analogous
#23879D #234A9D #39239D
triadic
#234A9D #9D234A #4A9D23
tetradic
#234A9D #9D2387 #9D7623 #239D39
square
#234A9D #9D2387 #9D7623 #239D39
split-complementary
#234A9D #9D3923 #879D23
monochromatic
#0D1B39 #18326B #234A9D #2E62CF #5F87DB

Accessibility & contrast

On white

8.27
#234A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#234A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234A9D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234A9D#FFFFFF#000000##FFFFFF
##234A9D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1154A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #234a9d;
/* rgb */ color: rgb(35, 74, 157);
/* oklch */ color: oklch(43.1% 0.143 262.9);
Tailwind
colors: {
  custom: {
    50: '#717bbb',
    500: '#234a9d',
    950: '#000000',
  },
}
SCSS
$custom: #234a9d;
$custom-light: #717bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#234a9d",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 157
  },
  "hsl": {
    "h": 220.82,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43116,
    "c": 0.14261,
    "h": 262.9
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#234A9D
secondary
#C0A05C
accent
#B241E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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