#234F94#234F94

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

Color values

HEX#234F94
RGBrgb(35, 79, 148)
HSLhsl(217, 62%, 36%)
HSVhsv(217, 76%, 58%)
CMYKcmyk(76.4%, 46.6%, 0%, 42%)
CIE-LABlab(34.16, 10.26, -42.35)
CIE-LCHlch(34.16, 43.58, 283.62°)
OKLaboklab(43.56% -0.0232 -0.1214)
OKLCHoklch(43.56% 0.124 259.2)
XYZxyz(8.8325, 8.0864, 29.1066)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F94 #946823
analogous
#238794 #234F94 #2F2394
triadic
#234F94 #94234F #4F9423
tetradic
#234F94 #942387 #946823 #23942F
square
#234F94 #942387 #946823 #23942F
split-complementary
#234F94 #942F23 #879423
monochromatic
#0C1A31 #173563 #234F94 #2F69C5 #5A8BD8

Accessibility & contrast

On white

8.02
#234F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#234F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F94
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F94#FFFFFF#000000##FFFFFF
##234F941.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5697
Deuteranopia (green-blind)
#124C93
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #234f94;
/* rgb */ color: rgb(35, 79, 148);
/* oklch */ color: oklch(43.6% 0.124 259.2);
Tailwind
colors: {
  custom: {
    50: '#6e7fb4',
    500: '#234f94',
    950: '#000000',
  },
}
SCSS
$custom: #234f94;
$custom-light: #6e7fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#234f94",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 148
  },
  "hsl": {
    "h": 216.637,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43559,
    "c": 0.1236,
    "h": 259.2
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#234F94
secondary
#BC9557
accent
#A643E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #234F94

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

Preview Lab → · Contrast checker → · Palette generator →

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