#234F9F#234F9F

#234F9F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.139 H 261.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#234F9F
RGBrgb(35, 79, 159)
HSLhsl(219, 64%, 38%)
HSVhsv(219, 78%, 62%)
CMYKcmyk(78%, 50.3%, 0%, 37.6%)
CIE-LABlab(34.91, 14.60, -47.80)
CIE-LCHlch(34.91, 49.98, 286.98°)
OKLaboklab(44.37% -0.0214 -0.1374)
OKLCHoklch(44.37% 0.139 261.2)
XYZxyz(9.7449, 8.4514, 33.9119)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F9F #9F7323
analogous
#238D9F #234F9F #35239F
triadic
#234F9F #9F234F #4F9F23
tetradic
#234F9F #9F238D #9F7323 #239F35
square
#234F9F #9F238D #9F7323 #239F35
split-complementary
#234F9F #9F3523 #8D9F23
monochromatic
#0D1D3B #18366D #234F9F #2E68D1 #608CDC

Accessibility & contrast

On white

7.81
#234F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#234F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F9F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F9F#FFFFFF#000000##FFFFFF
##234F9F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #234f9f;
/* rgb */ color: rgb(35, 79, 159);
/* oklch */ color: oklch(44.4% 0.139 261.2);
Tailwind
colors: {
  custom: {
    50: '#717fbc',
    500: '#234f9f',
    950: '#000000',
  },
}
SCSS
$custom: #234f9f;
$custom-light: #717fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#234f9f",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 218.71,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44368,
    "c": 0.1391,
    "h": 261.2
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #234F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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