#232F55#232F55

#232F55 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.070 H 268.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#232F55
RGBrgb(35, 47, 85)
HSLhsl(226, 42%, 24%)
HSVhsv(226, 59%, 33%)
CMYKcmyk(58.8%, 44.7%, 0%, 66.7%)
CIE-LABlab(20.23, 7.76, -24.67)
CIE-LCHlch(20.23, 25.87, 287.47°)
OKLaboklab(31.51% -0.0013 -0.07)
OKLCHoklch(31.51% 0.07 268.9)
XYZxyz(3.3488, 3.0460, 9.0040)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F55 #554923
analogous
#234855 #232F55 #302355
triadic
#232F55 #55232F #2F5523
tetradic
#232F55 #552348 #554923 #235530
square
#232F55 #552348 #554923 #235530
split-complementary
#232F55 #553023 #485523
monochromatic
#090C16 #11172A #232F55 #354780 #475FAC

Accessibility & contrast

On white

13.05
#232F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#232F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F55
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F55#FFFFFF#000000##FFFFFF
##232F551.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3356
Deuteranopia (green-blind)
#192F54
Tritanopia (blue-blind)
#09373D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232f55;
/* rgb */ color: rgb(35, 47, 85);
/* oklch */ color: oklch(31.5% 0.070 268.9);
Tailwind
colors: {
  custom: {
    50: '#626785',
    500: '#232f55',
    950: '#000000',
  },
}
SCSS
$custom: #232f55;
$custom-light: #626785;
$custom-dark: #000000;
JSON
{
  "hex": "#232f55",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 85
  },
  "hsl": {
    "h": 225.6,
    "s": 41.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31506,
    "c": 0.07001,
    "h": 268.9
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#232F55
secondary
#897A4B
accent
#B456D1
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #232F55

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

Preview Lab → · Contrast checker → · Palette generator →

#232F55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva