#234D95#234D95

#234D95 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.128 H 260.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#234D95
RGBrgb(35, 77, 149)
HSLhsl(218, 62%, 36%)
HSVhsv(218, 77%, 58%)
CMYKcmyk(76.5%, 48.3%, 0%, 41.6%)
CIE-LABlab(33.63, 11.99, -43.81)
CIE-LCHlch(33.63, 45.42, 285.31°)
OKLaboklab(43.17% -0.0212 -0.1257)
OKLCHoklch(43.17% 0.128 260.4)
XYZxyz(8.7699, 7.8340, 29.4779)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234D95 #956B23
analogous
#238695 #234D95 #322395
triadic
#234D95 #95234D #4D9523
tetradic
#234D95 #952386 #956B23 #239532
square
#234D95 #952386 #956B23 #239532
split-complementary
#234D95 #953223 #869523
monochromatic
#0C1A32 #173363 #234D95 #2F67C7 #5A89D8

Accessibility & contrast

On white

8.18
#234D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#234D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234D95
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234D95#FFFFFF#000000##FFFFFF
##234D951.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265598
Deuteranopia (green-blind)
#054A94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #234d95;
/* rgb */ color: rgb(35, 77, 149);
/* oklch */ color: oklch(43.2% 0.128 260.4);
Tailwind
colors: {
  custom: {
    50: '#6f7eb5',
    500: '#234d95',
    950: '#000000',
  },
}
SCSS
$custom: #234d95;
$custom-light: #6f7eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#234d95",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 217.895,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43174,
    "c": 0.12751,
    "h": 260.4
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#234D95
secondary
#BD9757
accent
#A943E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234D95

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

Preview Lab → · Contrast checker → · Palette generator →

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