#234D8F#234D8F

#234D8F is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.7% C 0.119 H 259.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#234D8F
RGBrgb(35, 77, 143)
HSLhsl(217, 61%, 35%)
HSVhsv(217, 76%, 56%)
CMYKcmyk(75.5%, 46.2%, 0%, 43.9%)
CIE-LABlab(33.24, 9.63, -40.79)
CIE-LCHlch(33.24, 41.91, 283.28°)
OKLaboklab(42.74% -0.0223 -0.1169)
OKLCHoklch(42.74% 0.119 259.2)
XYZxyz(8.3031, 7.6473, 27.0198)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234D8F #8F6523
analogous
#23838F #234D8F #2F238F
triadic
#234D8F #8F234D #4D8F23
tetradic
#234D8F #8F2383 #8F6523 #238F2F
square
#234D8F #8F2383 #8F6523 #238F2F
split-complementary
#234D8F #8F2F23 #838F23
monochromatic
#0B182D #17335E #234D8F #2F67C0 #5788D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##234D8F#FFFFFF#000000##FFFFFF
##234D8F1.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)
#2B5392
Deuteranopia (green-blind)
#154A8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #234d8f;
/* rgb */ color: rgb(35, 77, 143);
/* oklch */ color: oklch(42.7% 0.119 259.2);
Tailwind
colors: {
  custom: {
    50: '#6d7eb0',
    500: '#234d8f',
    950: '#000000',
  },
}
SCSS
$custom: #234d8f;
$custom-light: #6d7eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#234d8f",
  "rgb": {
    "r": 35,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 216.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.11896,
    "h": 259.2
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#234D8F
secondary
#BA9254
accent
#A644E4
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #234D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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