#234E9D#234E9D

#234E9D is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.138 H 261.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#234E9D
RGBrgb(35, 78, 157)
HSLhsl(219, 64%, 38%)
HSVhsv(219, 78%, 62%)
CMYKcmyk(77.7%, 50.3%, 0%, 38.4%)
CIE-LABlab(34.48, 14.48, -47.29)
CIE-LCHlch(34.48, 49.46, 287.02°)
OKLaboklab(44% -0.0208 -0.136)
OKLCHoklch(44% 0.138 261.3)
XYZxyz(9.5011, 8.2393, 32.9814)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234E9D #9D7223
analogous
#238B9D #234E9D #35239D
triadic
#234E9D #9D234E #4E9D23
tetradic
#234E9D #9D238B #9D7223 #239D35
square
#234E9D #9D238B #9D7223 #239D35
split-complementary
#234E9D #9D3523 #8B9D23
monochromatic
#0D1C39 #18356B #234E9D #2E67CF #5F8BDB

Accessibility & contrast

On white

7.93
#234E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#234E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234E9D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234E9D#FFFFFF#000000##FFFFFF
##234E9D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F57A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #234e9d;
/* rgb */ color: rgb(35, 78, 157);
/* oklch */ color: oklch(44.0% 0.138 261.3);
Tailwind
colors: {
  custom: {
    50: '#717fba',
    500: '#234e9d',
    950: '#000000',
  },
}
SCSS
$custom: #234e9d;
$custom-light: #717fba;
$custom-dark: #000000;
JSON
{
  "hex": "#234e9d",
  "rgb": {
    "r": 35,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 218.852,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43995,
    "c": 0.13755,
    "h": 261.3
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#234E9D
secondary
#C09D5C
accent
#AC41E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #234E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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