#234298#234298

#234298 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.146 H 265.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#234298
RGBrgb(35, 66, 152)
HSLhsl(224, 63%, 37%)
HSVhsv(224, 77%, 60%)
CMYKcmyk(77%, 56.6%, 0%, 40.4%)
CIE-LABlab(30.69, 20.65, -50.39)
CIE-LCHlch(30.69, 54.46, 292.28°)
OKLaboklab(41% -0.0118 -0.1453)
OKLCHoklch(41% 0.146 265.4)
XYZxyz(8.3068, 6.5198, 30.5203)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234298 #987923
analogous
#237D98 #234298 #3F2398
triadic
#234298 #982342 #429823
tetradic
#234298 #98237D #987923 #23983F
square
#234298 #98237D #987923 #23983F
split-complementary
#234298 #983F23 #7D9823
monochromatic
#0C1735 #182C66 #234298 #2E58CA #5C7DD9

Accessibility & contrast

On white

9.11
#234298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#234298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234298
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234298#FFFFFF#000000##FFFFFF
##2342981.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #234298;
/* rgb */ color: rgb(35, 66, 152);
/* oklch */ color: oklch(41.0% 0.146 265.4);
Tailwind
colors: {
  custom: {
    50: '#7075b7',
    500: '#234298',
    950: '#000000',
  },
}
SCSS
$custom: #234298;
$custom-light: #7075b7;
$custom-dark: #000000;
JSON
{
  "hex": "#234298",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 224.103,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41,
    "c": 0.1458,
    "h": 265.4
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#234298
secondary
#BEA359
accent
#BA42E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #234298

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

Preview Lab → · Contrast checker → · Palette generator →

#234298 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva