#234E98#234E98

#234E98 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.131 H 260.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#234E98
RGBrgb(35, 78, 152)
HSLhsl(218, 63%, 37%)
HSVhsv(218, 77%, 60%)
CMYKcmyk(77%, 48.7%, 0%, 40.4%)
CIE-LABlab(34.13, 12.51, -44.82)
CIE-LCHlch(34.13, 46.54, 285.59°)
OKLaboklab(43.62% -0.0216 -0.1287)
OKLCHoklch(43.62% 0.131 260.5)
XYZxyz(9.0830, 8.0721, 30.7790)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234E98 #986D23
analogous
#238998 #234E98 #332398
triadic
#234E98 #98234E #4E9823
tetradic
#234E98 #982389 #986D23 #239833
square
#234E98 #982389 #986D23 #239833
split-complementary
#234E98 #983323 #899823
monochromatic
#0C1B35 #183466 #234E98 #2E68CA #5C8AD9

Accessibility & contrast

On white

8.03
#234E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#234E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234E98
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234E98#FFFFFF#000000##FFFFFF
##234E981.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569B
Deuteranopia (green-blind)
#014B97
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #234e98;
/* rgb */ color: rgb(35, 78, 152);
/* oklch */ color: oklch(43.6% 0.131 260.5);
Tailwind
colors: {
  custom: {
    50: '#6f7fb7',
    500: '#234e98',
    950: '#000000',
  },
}
SCSS
$custom: #234e98;
$custom-light: #6f7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#234e98",
  "rgb": {
    "r": 35,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 217.949,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43621,
    "c": 0.13051,
    "h": 260.5
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#234E98
secondary
#BE9959
accent
#AA42E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #234E98

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

Preview Lab → · Contrast checker → · Palette generator →

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