#234A9C#234A9C

#234A9C is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.141 H 262.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#234A9C
RGBrgb(35, 74, 156)
HSLhsl(221, 63%, 37%)
HSVhsv(221, 78%, 61%)
CMYKcmyk(77.6%, 52.6%, 0%, 38.8%)
CIE-LABlab(33.25, 16.78, -48.66)
CIE-LCHlch(33.25, 51.48, 289.03°)
OKLaboklab(43.04% -0.0177 -0.1401)
OKLCHoklch(43.04% 0.141 262.8)
XYZxyz(9.1405, 7.6541, 32.4417)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234A9C #9C7523
analogous
#23879C #234A9C #38239C
triadic
#234A9C #9C234A #4A9C23
tetradic
#234A9C #9C2387 #9C7523 #239C38
square
#234A9C #9C2387 #9C7523 #239C38
split-complementary
#234A9C #9C3823 #879C23
monochromatic
#0D1B38 #18326A #234A9C #2E62CE #5E87DB

Accessibility & contrast

On white

8.30
#234A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#234A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234A9C
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234A9C#FFFFFF#000000##FFFFFF
##234A9C1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13549F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #234a9c;
/* rgb */ color: rgb(35, 74, 156);
/* oklch */ color: oklch(43.0% 0.141 262.8);
Tailwind
colors: {
  custom: {
    50: '#717bba',
    500: '#234a9c',
    950: '#000000',
  },
}
SCSS
$custom: #234a9c;
$custom-light: #717bba;
$custom-dark: #000000;
JSON
{
  "hex": "#234a9c",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 156
  },
  "hsl": {
    "h": 220.661,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43038,
    "c": 0.14121,
    "h": 262.8
  },
  "luminance": 0.07655
}

Semantic roles & 50–950 ramp

primary
#234A9C
secondary
#C09F5B
accent
#B141E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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